Page tree

Versions Compared

Key

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

...

The following example is a standard TMS request, which returns a single tile with half Nearmap imagery and half satellite imagery:

https://au0us0.nearmap.com/maps?x=152986&y=197356&z=19&nml=v&version=2&httpauth=false&apikey=YOUR_API_KEY

If you add "&exclude=background" to the TMS request, you will only see the Nearmap imagery part: 

https://au0us0.nearmap.com/maps?x=152986&y=197356&z=19&nml=v&version=2&httpauth=false&exclude=background&apikey=YOUR_API_KEY

Example 2 - No Nearmap Coverage

The following example is a standard TMS request, which returns a single tile with satellite imagery and no Nearmap imagery:

https://au0us0.nearmap.com/maps?x=152987&y=197300&z=19&nml=v&version=2&httpauth=false&apikey=YOUR_API_KEY

If you add "&exclude=background" to the TMS request, you will receive no imagery, instead you will get an error (HTTP 404):

https://au0us0.nearmap.com/maps?x=152987&y=197300&z=19&nml=v&version=2&httpauth=false&exclude=background&apikey=YOUR_API_KEY