Web-based mapping has evolved rapidly over the last two decades, from MapQuest and Google to real-time location information on our phones' mapping apps. There have been open source projects to develop web-based maps in the past, such as MapServer, GeoServer, and OpenLayers. However, Environmental Systems Research Institute (ESRI) includes the Flex and Silverlight APIs; these create web-based maps from their ArcServer services.
You can find more information on Leaflet at http://leafletjs.com.
This book assumes that you have a basic understanding of HTML and CSS, primarily of how to link external
.css files and how to name and size a
In this chapter, we will cover the following topics:
Custom functions / Responding to events