WITNESS Data Maps

Linking to a geolocation

Base URL: maps.witnessdata.org

Basic:
/geolocated?long={long}&lat={lat}

With an optional title:
/geolocated?long={long}&lat={lat}&title={title}

To display only the title:
/geolocated?long={long}&lat={lat}&title={title}&hide-coordinates=1

Change circle radius:
/geolocated?long={long}&lat={lat}&radius=500
Radius is an integer specifying the meters of a circle around the point.

Change initial zoom:
/geolocated?long={long}&lat={lat}&zoom=8
Zoom must be an integer between 8 (entire world) and 17 (zoomed in max). Default is 11.

Change basemap:
/geolocated?long={long}&lat={lat}&basemap={basemap}
Basemaps must be one of: imagery, light-gray, world-street, world-topo.

Embedding a geolocation map in your website

Construct the URL:
/geolocated?long={long}&lat={lat}&embedded=1
Note: You may include an optional title, hide the coordinates, etc. (all of the options in linking are available when embedding).

Place the URL in an iframe:
<iframe src="{url}" style="min-height: 400px; min-width: 400px;"></iframe>