- Leaflet.js Essentials
- Paul Crickard III
- 216字
- 2021-09-03 10:03:02
Chapter 1. Creating Maps with Leaflet
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.
Over the last few years, JavaScript has taken the online mapping world by storm. In 2013, there was a JS.geo conference. The library at the center of attention was Leaflet. This is a JavaScript library used to create interactive, web-based maps. With it, you can create a simple map in as little as three lines of JavaScript, or you can create complex, interactive, editable maps with hundreds of lines of code.
Note
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 .js
and .css
files and how to name and size a <div>
element. It also assumes that you have a working knowledge of JavaScript.
In this chapter, we will cover the following topics:
- Tile layers
- Vector layers
- Pop ups
- Custom functions / Responding to events
- Mobile mapping
- 嵌入式軟件系統(tǒng)測試:基于形式化方法的自動化測試解決方案
- INSTANT OpenCV Starter
- 深入理解Django:框架內(nèi)幕與實(shí)現(xiàn)原理
- Flink SQL與DataStream入門、進(jìn)階與實(shí)戰(zhàn)
- Learning RabbitMQ
- INSTANT Sencha Touch
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- 軟件測試分析與實(shí)踐
- The Statistics and Calculus with Python Workshop
- Software-Defined Networking with OpenFlow(Second Edition)
- Mapping with ArcGIS Pro
- C語言編程魔法書:基于C11標(biāo)準(zhǔn)
- WCF編程(第2版)
- 菜鳥成長之路
- Visual Basic程序設(shè)計(jì)