Versions Compared

Key

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

...

Code Block
languagexml
<wms:mapengine id="nearmap.custom">
	<url>https://api.nearmap.com/wms/v1/places/[placeid]/apikey/[apikey]</url>
    <format>image/jpeg</image>
	<!-- this may be needed if you use GDA94 and/or you maps do not align,
	      GDA2020 is also a valid value but that is now the default -->
	<tokens>
		<token name="DATUM" value="GDA94"/> 
	</tokens>

	<!-- Optionally you can refine which layers are imported, this is the format of the new "Nearmap WMS 2.0" layer names -->
	<layers>
		<layer>area/a9e71723-ccd2-43a7-9983-1e4b91180492/survey/66a9a120-fd8d-11ec-aed0-0ff28f9b30f6/2022-06-28</layer>
		<layer>area/a9e71723-ccd2-43a7-9983-1e4b91180492/survey/66a9a120-fd8d-11ec-aed0-0ff28f9b30f6/2022-05-21</layer>
		<layer>area/a9e71723-ccd2-43a7-9983-1e4b91180492/survey/66a9a120-fd8d-11ec-aed0-0ff28f9b30f6/2022-04-17</layer>
		<layer>area/a9e71723-ccd2-43a7-9983-1e4b91180492/survey/66a9a120-fd8d-11ec-aed0-0ff28f9b30f6/2022-02-12</layer>
	</layers>
</wms:mapengine>

...

Code Block
languagexml
<wms:mapengine id="nearmap.simple">
	<url>https://api.nearmap.com/wms/v1/latest/apikey/[apikey]</url>
    <format>image/jpeg</image>
	<!-- this may be needed if you use GDA94 and/or you maps do not align,
	      GDA2020 is also a valid value but that is now the default -->
	<tokens>
		<token name="DATUM" value="GDA94"/> 
	</tokens>
</wms:mapengine>

...