Is my localization database ready to use?
Congratulations! Now that you understand how Mega works, its applicable scenarios, device support, and have learned to obtain and use an APIKey, your application has the foundation for achieving high-precision spatial localization.
Before you start
Before you begin writing the core application logic, please ensure:
- Localization database contains correct maps
Check your localization database to ensure it has correctly added the maps for the areas your application needs to use. - SDK is configured correctly
Confirm that you have correctly initialized the EasyAR SDK in your code, configured a valid SDK License, and provided a valid API Key for the Mega service. - Maps are correctly referenced
Ensure that within your scene or code, the Mega localization module (such as theMegaTrackercomponent) correctly points to the map resources you added.
If all the above steps are complete, then your localization database should theoretically work normally.
Encountering issues
If you encounter problems while checking the above steps, refer to the following articles for resolution:
You don't have a map yet
You need to create a Mega map for the target physical space first. This typically involves two steps: data acquisition and mapping. Refer to:You have a map but are unsure of its quality
The accuracy and coverage of the map directly impact localization performance. You can view the mapping results to help you assess. Refer to:About map loading and management
For information on how to load and manage mapping results in the localization database, refer to:SDK License and APIKey
If you encounter issues related to License or APIKey, refer to:
When your project includes valid and high-quality Mega maps, your localization database is truly ready. Please refer to the above documentation based on your specific situation to complete the preparation and configuration of your maps. Then, you can start writing compelling AR applications!