Can My Localization Feature Be Used Now?
Congratulations! You now understand how Mega works, its applicable scenarios, device support, and how to obtain and use an APIKey. Your application already has the foundation needed to implement high-precision spatial localization.
Before You Begin
Before you start writing application logic, make sure that:
- The correct maps have been added to the localization database
Check your localization database and make sure the maps for the areas required by your application have been added correctly. - The SDK is configured correctly
Confirm that EasyAR SDK has been initialized correctly in your code, that a valid SDK License is configured, and that a valid Mega service API Key is passed in. - The maps are referenced correctly
In your scene or code, make sure the Mega localization module, such as theMegaTrackercomponent, points to the map resources you added.
If all the above steps have been completed, your localization feature should be ready to work normally in theory.
Troubleshooting
If you encounter problems while checking the steps above, refer to the following articles:
You do not have a map yet
You need to create a Mega map for the target physical space first. This usually includes two steps: data collection and mapping. See:You already have a map but are unsure about its quality
The accuracy and coverage of the map directly affect localization results. You can view the mapping result to help evaluate it. See:Map loading and management
For how to load and manage mapping results, see:SDK License and APIKey
If you encounter License or APIKey issues, see:
When your project contains a valid, high-quality Mega map, your localization feature is truly ready. Based on your situation, refer to the documents above to complete map preparation and configuration, and then you can start building exciting AR applications!