A sample Flutter project using MapsForge and a local map file.
Note:
- This example is a bare minimum to show a map. The code is largely based on the instructions from the README.md.
- The example presumes the Windows desktop device.
-
Download a MapsForge map from, for example, one of the servers mentioned by mapforge.org, to your client. The example uses a downloaded map of Berlin.
-
In
main.dart, on line 42, update the path to your downloaded map. -
Using a long tap, a marker can be added to the Map.