This tutorial demonstrates the fundamental process of initializing a Vexcel map using username and password authentication. This is the most basic and common way to authenticate with the Vexcel API and is essential for accessing Vexcel's imagery services.
You'll learn how to:
- Authenticate with the Vexcel platform using username and password credentials
- Retrieve an authentication token from the Vexcel API
- Initialize a map with the authentication token
- Implement proper error handling for authentication failures
Authentication is a critical first step in any application using the Vexcel Map API, as it ensures secure access to Vexcel's imagery services and enforces proper usage according to your subscription level. This tutorial provides the foundation for all other Vexcel Map API functionality, as a valid authentication token is required for most API operations.
Once authenticated, the map will automatically display the default imagery layers associated with your account, and you'll be ready to implement additional functionality as needed.
index.html
main.js