This tutorial demonstrates how to initialize a Vexcel map using a pre-existing API Key. This approach is ideal for applications where you already have a valid API Key.
You'll learn how to:
- Initialize a map directly with an API Key
- Configure the basic map properties
- Understand API Key authentication workflow
- Implement a streamlined map initialization process
Direct API Key authentication is useful for applications that use API Keys to manage access. Typical cases are single-page apps with centralized API Key management, server-rendered apps that provide API Keys to the client, and apps that securely store API Keys for reuse.
This method makes map initialization simpler. It also allows flexible authentication workflows using API Keys.
index.html
main.js