Lesson goal: Place a marker on a map

Previous: Draw a map | Home | Next: Draw with markers

Now that you know how to draw a map, let's add some of those famous red Google-balloons (or markers) to the map.

Move the mouse over a dotted box for more information.

Maps will always appear at the very bottom of this browser window. You might have to scroll down to see it.

Now you try. Fill in some latitude and longitude and see your own Google map..maybe then place a red-marker over your house or school.

Type your code here:

See your results here:

This code will not run! You have to fill in the initial latitude and longitude about which to center the map. Then the latitude and longitude of where to place a marker. Dismiss.
Show a friend, family member, or teacher what you've done!

Here is a share link to your code:

Does your code work? Want to run it on your iPhone?

Here's your code:

  1. Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.

  2. Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into this page

  3. Then click the "Use on iPhone" button that you'll see.