Maps functionalities are abstracted in Pacem JS while their contextualization into a specific Maps technology is delegated to adapter interfaces.
Currently available adapters are:
Open source mappings with OpenStreetMaps tiles and LeafletJS engine flow naturally using the
<pacem-map-adapter-leaflet> component (aka
Leaflet JS + OpenStreetMaps is the preferred option in Pacem JS. Updates to the API will be added giving priority to this technology.
Azure cloud-powered maps are activated by referring the
<pacem-map-adapter-azure> component (aka
Google (well-known) maps are available via
<pacem-map-adapter-google component (aka
WMS and TMS outputs can be easily overlayed to the map via the
In the following snippet a WMS tile layer gets added to the map (only for a specific zoom-range).