map library
Lightweight Map
widget for flutter supporting different projections including EPSG4326/Mercator/WGS1984.
-
Written entirely in Dart. No plugins, No platform code, No native code.
-
Map is vendor-free. Meaning that you can choose any tile provider of your choice. Google Maps, Mapbox, OSM Maps and Yandex Maps are a few to name. You can also use this package with your own custom tiles, your own server, your own
sub
domain. -
Support for vector tiles is under development in vt and cartography packages. Please checkout these packages to know more about the progress and open issues/tasks.
-
This package supports caching out of the box through cached_network_image and flutter_cache_manager packages.
Classes
- MapController
- A controller to modify the center and zoom of the MapLayout.
- MapLayout
- Builds a widget tree that can depend on the parent widget's size and providers a map coordinates transfom helper to its children.
- MapTransformer
- Helps with converting map coordinates to XY coordinates and vice-versa.
- Polyline
- Defines a polyline to draw on the map.
- PolylineLayer
- Draws a layer of polylines on the MapLayout.
- Shape
- Represents a polygon.
- ShapeLayer
-
Raster or Vector data for a specific
z, x, y
coordinate. - TileLayer
-
Raster or Vector data for a specific
z, x, y
coordinate.