From the course: Code Clinic: JavaScript

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Linking to Google Maps

Linking to Google Maps - JavaScript Tutorial

From the course: Code Clinic: JavaScript

Start my 1-month free trial

Linking to Google Maps

- [Instructor] Let's go ahead and add some features to this map, and finish this up. So the first thing I'm gonna do is come in here and add a couple things to my map. I wanna add a marker, and markers are pretty simple. So let's go ahead and do an additional item here, and we'll call it &markers, and you can specify more than one marker, I'm just gonna create one, and use the red color, and it does need a pipe character here. So I do that, you should see a marker in your map that is centered, let's go ahead and, that actually will need the latitude and longitude on each side of it, so I've already got that here. And I'll just go ahead and paste that there. Let's check that out, so now you should see the location marker, and you can add as many of these as you want, all you have to do is just keep on adding additional markers, and then also positions, or as I mentioned they can also be addresses. So in addition to that, one of the things that bothers me is that the maximum map is 600…

Contents