Is my localization database ready to use?
Congratulations! Now that you have an understanding of how Mega works, its applicable scenarios, device support, and have learned how to obtain and use an APIKey, your application already has the foundation for achieving high-precision spatial localization.
Before you begin
Before you start writing the application logic, please ensure:
- The localization database has the correct map added
Check your localization database to ensure it has the map for the area your application needs to use. - The SDK is configured correctly
Confirm that you have correctly initialized the EasyAR SDK in your code, configured a valid SDK License, and passed a valid API Key for the Mega service. - The map is correctly referenced
In your scene or code, ensure that the Mega localization module (such as theMegaTrackercomponent) correctly points to the map resource you added.
If the above steps are completed, your localization database should theoretically work normally.
Encountering issues
If you encounter issues while checking the above steps, refer to the following articles for solutions:
You don’t have a map yet
You need to first create a Mega map for the target physical space. This usually 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 affect localization performance. You can check the mapping results to help you evaluate. Refer to:About map loading and management
For how to load and manage mapping results in the localization database, refer to:SDK License and APIKey
If you encounter issues related to the 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 the map, and then you can start writing exciting AR applications!