Widget HTML Atas

Using Leaflet To Practise A Campus Map


The University of Leicester has opted to role Leaflet.js to practice its novel campus map. One of the dandy advantages of using the Leaflet mapping platform is the abundance of dandy character tertiary political party plug-in libraries available. Leicester University has used a seat out of these libraries to practice a dandy mapped involve to the campus, its buildings as well as facilities.

The University of Leicester Campus Map uses the OSM buildings plug-in to supply 3d edifice footprints (pan the map to a greater extent than or less as well as abide by how the edifice shadows move). The map likewise uses the Leaflet.label plug-in to supply labels for these campus buildings. Mouse-over a edifice on the map as well as a label appears indicating the building's name.

The map includes a bill of fare which lists the academy buildings past times campus. This is my ane criticism of the map. In my sentiment the map would likewise actually practice goodness from a search pick to live on able to search for a edifice past times name. This could easily live on added to the map using the leaflet-search plugin. Leaflet-search is a powerful customized search engine which y'all tin flame add together to a Leaflet map to allow users to easily search a map past times a custom property.

It wouldn't live on difficult to role the leaflet.search plug-in to supply an pick to search the map past times the names of academy buildings, departments or other facilities.