- Components of Web application
- Client-Server Architecture
- Introduction to client side programming
Client
Server
Database
Communication
Libraries, API's, & Frameworks
Mapping Components
Let's try a simple web map
The example is created with Leaflet
…but the other techniques are also very similar
Head section
Body section
Initialize the map & set the center point
Add a base layer to the map
Remove the 'center' & 'zoom' options from the L.map constructor
Center & zoom level with the setView() method
Use L.tileLayer.wms() to displays a WMS service as a tile layer on the map
Default
Custom
Google Maps API - is a set of objects that represent the programmable entities of the map. Examples of these objects;
These objects provide their own properties and methods, which allow you to access their functionality from within the code and manipulate the map
One server has multiple accesses
Clients use different access points; OS, Browsers, screen sizes
Data is stored on the server & requested by the client
User interaction occurs on the client, data access is handled by the server, & data processing can occur on either end
Servers process requests & return a result, then Client do something with the results
Analogy
- the cook and the customer in a restaurant
The server & the cook handle multiple clients simultaneously
In Web, client means browser
All browsers understand HTML, CSS, JavaScript
HTML - HyperText Markup Language
CSS - Cascading Style Sheet
JavaScript - Programming Language
Locate hotels, tourism, and street maps
Queries about this Lesson, please send them to:
*References*
- Google Maps; Power Tools for Maximizing the API, 2014
Evangelos Petroutsos
- D3 Tips and Tricks; Interactive Data Visualization in a Web Browser, 2013
Malcolm Maclean
- Interactive Data Visualization for the Web, 2013
Scott Murray
- Web Programming with HTML5, CSS, and JavaScript, 2019
John Dean
- Leaflet Documentation
Leaflet Team
- Google Documentation for developers
Google Team
Courtesy of …