#FH Offline Map Usage
It uses mapsforge as map engine which produces bitmap base on Map database (.map files)
The adapter lib FHMap exposes API for downloading map, loading map file, render file etc
The Cordova Plugin (FHMapPlugin) exposes APIs above to Hybrid app
The frontend uses leaflet.js to render map tiles to map. An adapter FHTile is developed to load tiles accordingly.
- use fhmap.setMapFile ({"fileName":"ireland.map"},cb); to setup the map needs to render
- follow leaflet tutorial in http://leafletjs.com/examples/quick-start.html
- instead of using L.titleLayer(url, options) use L.fhMap(options) for map initialising.
- Now you can use all Leaflet apis.
- Map downloading API
- Map listing API
- Performance issue