This tutorial demonstrates how to initialize a Vexcel map application that allows users to switch between multiple available maps. This functionality is essential for applications that need to provide access to different geographic datasets or map configurations based on user preferences or requirements.
You'll learn how to:
- Retrieve a list of available maps from the Vexcel API
- Populate a dropdown menu with map options
- Initialize the map with a selected map ID
- Implement map switching functionality
- Handle the cleanup and recreation of map instances
Multiple map support is valuable for applications that serve diverse user needs or provide access to different geographic regions or data types. This capability allows users to seamlessly switch between different maps without reloading the application, creating a more flexible and responsive user experience.
Map Select
index.html
main.js