Integrating Mappls’s interactive map API into your browser application involves simply including their API script in the section of your HTML file. Here’s an example:
<script src="https://apis.mappls.com/advancedmaps/api/<token>/map_sdk?v=3.0&layer=vector"></script>
Replace <token>
with your actual API token provided by Mappls. In this script:
v=3.0 specifies the version of the API to use. It’s recommended to keep it as the latest version available (currently 3.0).
layer = vector specifies the type of map suitable for the project. The default is vector, but you can use raster as an alternative value if needed.