A minimap canvas solution to navigate through a WMTS map, and click to move the 3D camera to that location.
This package is provided through OpenUPM, to install it using the CLI you can perform the following:
$ openupm add eu.netherlands3d.minimap
or, you have to add https://package.openupm.com
as a scoped registry with, at least, the following scopes:
eu.netherlands3d
Place the minimap prefab in a canvas. Scriptable objects can be swapped/created to create new WMTS services.
The WMTSMap
class features two events: onZoom
and onClick
.
This event is triggered when the user performs a zoom action.
This event is triggered when a user clicks on a location on the minimap. The event returns the coordinates of the clicked location in the Rijksdriehoekformaat coordinate system.