When building a new mapping application, I frequently find myself in need of a way to collect a few locations that I can use as a starting point. I need a quick way of generating latitude and longitude, ideally for points in the area that my application will be focused on.

This week I decided to make a quick little application purely for this purpose. I hope you, too, will find this simple tool useful.

It allows you to quickly click a few points on a map, and dump their lat/lng coordinates into a javascript array. The array then appears on the page, making it easy to copy & paste into the code of a new application. I added a text-box which lets you geocode an address and add it to the array.

If you want to start with a clean slate, click “Delete Markers”. This will clear the map and empty the array.

Marker Locations Array

Click on the map to add markers, or type address below.

[
[
43.66877185050801,
-79.39403057098389
]
]

Move left
Move right
Move up
Move down
+ Zoom in
- Zoom out
Home Jump left by 75%
End Jump right by 75%
Page Up Jump up by 75%
Page Down Jump down by 75%

")

Keyboard shortcuts

Map DataMap data ©2026 Google

Map data ©2026 Google

2 km

Click to toggle between metric and imperial units

Terms

Report a map error

This page can't load Google Maps correctly.

Do you own this website? OK

BESbswy

(Open embedded page)

This code was based on Google’s ‘ removing markers’ sample. I have included the code so you can make a your own copy.


Click on the map to add markers, or type address below.

[
[
43.66877185050801,
-79.39403057098389
]
]

BESbswy

BESbswy