Skip to content

This is flutter package to download osm tile and use offline

License

Notifications You must be signed in to change notification settings

paraslamsong/osm_offline_download

Repository files navigation

osm_offline_download

A Flutter package to enable osm tile to download along with other features like direction api inclusion and many more

Screen shot

Getting Started

Install the package with [[flutter pub add osm_offline_download]]

Dependency plackages used in this package

  1. flutter_map
  2. cached_network_image
  3. path_provider
  4. location
  5. latlong2
  6. dio

Featured included in the package

  1. OSM Tiles
  2. Offline download
  3. Caching OSM Tiles
  4. Animations to map operations
  5. Adding polygons, polylines, markers
  6. OSM direction api integration(Uses OSMR direction api)
  7. User location tracking

APIs

Navigation

controller.fetchDirection

Enable/Disable Tracking using controller

controller.setTracking

Add Polylines

controller.addPolyline

Add Markers

controller.addMarkers

Add Polygon

controller.addPolygons

Animate to location

controller.animateToPoint

Download map tile for offline access

OSMMapBox.downloadOffline

GeoCoding

OSMMapBox.getGeoCoding OSMMapBox.getReverseGeoCoding

osm_offline_download

About

This is flutter package to download osm tile and use offline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published