flutterfluttermapmapsforge

How to add a marker in mapsforge_flutter?


I am using the mapsforge_flutter package to display an offline .map file. I want to add a marker (for example, a pin at a specific latitude/longitude), but I cannot find a clear example in the documentation.

What is the correct way to add a marker in mapsforge_flutter?

Is there any example of using MarkerOverlay or similar?

Any guidance or sample code would be really helpful.

Thanks!


Solution

  • Maybe you should take a look at their code example and search for the part using Markers. If this is not enough, you should ask directly to the maintainers of the lib through the issues section of the repository.