Building Maps with Jereme S. Causing
Aug 08, 2015
What is leaflet.js?
Leaflet.js is an open source Javascript library used to build web mapping applications
Why Leaflet.js
• Fast Performance• Lightweight (only 123kb)• Customizable• Easy to Learn• Easy Migration (for Google Maps API users)• Mobile-Friendly
Tiles• In creating a map, you always start from
selecting your tile source.• There are a number of online services that
provide tiles.–Cloudmade–Mapquest–Openstreetmap–Bing
• As a matter of fact, you can also provide your own tiles
Custom Tiles
As mentioned earlier, you can also provide your own tiles
• Skyrim• The Forest(fan map)• Olivarez Maps(thesis)
Events
• Leaflet supports a variety of events from click to touch interaction for mobile devices.
Demo
PluginsLeaflet.js also comes with a number plugins to suit your needs
• Marker Clustering• Drawing Tools• Heatmaps• Font-Awesome Markers• Animation