Hello Map
This example demonstrates how to create a Flutter app that displays an interactive map using Maps SDK for Flutter.
How it works
The example app demonstrates the following feature:
- Display a map.
GemMap widget
Map Display and Cleanup
The following code outlines the main page widget, which displays the map and handles resource clean-up:
Explanation of key components
- The
MyHomePagewidget contains the scaffold that houses the map. - The
disposemethod ensures that resources are released when the widget is destroyed. - The
GemMapwidget is used to display the interactive map in the body of the scaffold.
