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
MyHomePage
widget contains the scaffold that houses the map. - The
dispose
method ensures that resources are released when the widget is destroyed. - The
GemMap
widget is used to display the interactive map in the body of the scaffold.