image_overlay_map 0.0.2 image_overlay_map: ^0.0.2 copied to clipboard
A package using web or local image to build a map with customizable markers like leaflet image overlay.
This is a Flutter package use local or web image to build a map. It's able to customize markers use markerWidgetBuilder. Markers will be rebuild when scale on screen;
An image widget as map. It will be scaled to the right size to make sure fit full screen on different devices. The image use local assets or web url is both supported.Sample demo shows howto use web images;
Size of image in pixels.Sample demo use Leaflet CRS.Simple, bounds = [[-height / 2, -width / 2], [height / 2, width / 2]]. [0,0] is center of image. You can build a different one when build MarkerModel from your marker data;
MarkerModel data build from your marker data.
Called when marker widget is clicked.
Build a widget from MarkerModel. You can build different widget for different scale value.
Called when map background image is tabbed.