Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you do not have permissions to access imagery in the specified location you will get a white rectangle instead of the image.Note: the


Info
titleNOTE

The API only

...

returns imagery in Web Mercator projection.


URL Format

http://[RC][NUMBER].nearmap.com/staticmap?center=[CENTER LAT LON]&
size=[WIDTHxHEIGHT]&zoom=[ZOOM]&date=[DATE]&
httpauth=false&apikey=[YOUR API KEY] 

...

ParameterMeaningExample
RCRegion code. Either us or au. Note: the region code for New Zealand is also au.au
NUMBERDomain rotation number. Valid numbers are 0-3.0
centerLatitude and Longitude of the location on which to centre the image in the format<latitude,longitude>37.334849,-122.008946
sizeSize of the image in pixels800x800
zoomImage zoom (Web Mercator zoom)18
dateDate of the image, in the format YYYYMMDD20150314
httpauthWhether the tile server should prompt for HTTP basic authentication. Set this to false (as we no longer support HTTP Basic authentication).false
apikeyAPI Key. See API Key Authentication.A325BF1343...

Example

http://us0.nearmap.com/staticmap?center=37.334849,-122.008946&size=800x800&zoom=18&date=20150205&httpauth=false&apikey=YOUR_API_KEY 

...