How to visualize Esri’s ArcGIS in Flutter Maps?
In Syncfusion® Flutter Maps, you can visualize the Esri’s ArcGIS maps and customize it easily. To add a ArcGIS, you need to add a MapTileLayer to the list of layers in SfMaps and set the ArcGIS URL to the MapTileLayer.urlTemplate property.
To request tiles from the ArcGIS provider, you need an API key. By following the steps listed in this link, you can create the key and replace the word 'Your-Key' with the actual key in the code snippet below.
@override Widget build(BuildContext context) { return Scaffold( body: SfMaps( layers: [ MapTileLayer( urlTemplate:'https://ibasemaps-api.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}?apiKey=Your-Key, ), ], ), ); }
Please check the licensing details before using it.
For android, make sure you have enabled internet permission in the android manifest file in release mode under android/app/src/main/AndroidManifest.xml
Screenshot:
Check the below links for more features in tile layer of Syncfusion® Flutter Maps
- https://www.syncfusion.com/flutter-widgets/flutter-maps
- https://help.syncfusion.com/flutter/maps/tile-layer
Live samples
- https://play.google.com/store/apps/details?id=com.syncfusion.flutter.examples
- https://apps.apple.com/us/app/syncfusion-flutter-ui-widgets/id1475231341
Package reference
Conclusion
I hope you enjoyed learning how to visualize Esri’s ArcGIS in Flutter Maps.
You can refer to our Flutter Maps feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our Flutter Maps example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!