This tutorial demonstrates how to initialize a Vexcel map using a pre-existing authentication token. This approach is ideal for applications where you already have a valid token from a previous authentication process or a token management system.
You'll learn how to:
- Initialize a map directly with an authentication token
- Configure the basic map properties
- Understand token-based authentication workflow
- Implement a streamlined map initialization process
Direct token authentication is valuable for applications that separate the authentication process from map initialization, such as single-page applications with centralized auth management, server-rendered applications that pass tokens to the client, or applications that store tokens securely for reuse. This approach simplifies the map initialization code and allows for more flexible authentication architectures.
index.html
main.js