Thursday, June 16, 2016

The Indoor Mapping Plug-in


This indoor mapping plug-in for the Leaflet mapping platform looks very interesting. The plug-in provides an easy way to create indoor maps with different floor levels.

I haven't had time to play with the Leaflet Indoor plug-in myself but it looks to be fairly straightforward. If you want to see the plug-in in action then you can view an example map that uses Leaflet Indoor in this demo.

As I understand it Leaflet Indoor allows you to create your Indoor Map using any method that you want, for example mapping out rooms and corridors with polylines and polygons. The Leaflet Indoor documentation suggests that the data for your floor plans should be created in a GeoJSON feature collection.

Once you have a floor plan you then assign it a level property. This level property is then used by the Leaflet Indoor control component to show the correct floor plan when a map user selects a floor level.

No comments:

Post a Comment