Lesson 1.3Lesson 1.3 · Tools of the Trade
Web GIS: Leaflet, Mapbox & Earth Engine
When the map has to live in a browser
The client will never install QGIS. So the map goes to them - in a browser.
You have finished a beautiful analysis, and now it must reach people who will never open a GIS: a client on a phone, a ward committee, the public at a consultation. Emailing a PDF flattens all your interactivity; asking them to install software is a non-starter. This is where web GIS comes in - maps that live in an ordinary web browser, that anyone can pan, zoom and click. And beyond sharing, the browser has become a place to compute: Google Earth Engine runs planetary-scale analysis in the cloud that no laptop could. This lesson maps that territory.
The best analysis nobody can open helps nobody. Sometimes the most useful export is a URL.
How a web map actually works: tiles
A desktop GIS redraws the whole map from your data every time. A web map cannot afford that, so it uses a tile trick. The map is pre-cut into small square images or data chunks at many zoom levels - a tile pyramid: one tile covers the world at zoom 0, four at zoom 1, sixteen at zoom 2, and so on down to street level. When you pan or zoom, the browser fetches only the handful of tiles currently on screen. This is why a slippy web map feels instant even over a phone connection - it never loads more than it needs.
The address of a tile is just its zoom, column and row (the {z}/{x}/{y} you see in an XYZ URL). You already met these in QGIS as XYZ Tiles. Understanding the pyramid is the key to everything else in web GIS: performance, cost and the raster-versus-vector-tile choice all flow from it.
A web map is lazy on purpose - it fetches only the tiles under your nose. That laziness is the speed.
Raster tiles vs vector tiles
Tiles come in two kinds, and the difference shapes what your map can do.
Raster tiles are pre-rendered pictures - the styling is baked into the pixels on a server. They are simple, work everywhere, and are what lightweight libraries usually serve. But you cannot restyle them in the browser (dark mode means a whole new tile set) and you cannot click a feature to read its data, because there are no features - just an image.
Vector tiles send the actual geometry - points, lines, polygons - and let the browser draw and style them live, using the graphics card (WebGL). Now the same data can be recoloured instantly, labels can rotate as you do, and features are clickable and queryable. The trade-off is more work for the browser and a more complex setup. As a rule: raster tiles for a simple, robust backdrop; vector tiles when the map must be interactive, restylable or data-rich.
The libraries: Leaflet, MapLibre, Mapbox GL, OpenLayers
A web map is drawn by a JavaScript library. Four matter.
Leaflet is the small, friendly one - lightweight, easy, and the usual first choice for a simple interactive map with markers and raster tiles. Mapbox GL JS renders vector tiles beautifully on the GPU, but it is a commercial product: v2 and later use a proprietary licence and require a Mapbox account and access token, with a free tier and paid usage beyond it. MapLibre GL JS is the open-source fork of Mapbox GL - the same vector-tile power, free and unencumbered, and increasingly the default for teams who want GPU vector maps without vendor lock-in. OpenLayers is the heavyweight: feature-rich, handles OGC services (WMS, WFS, WMTS) and reprojection out of the box, at the cost of a steeper learning curve.
For large data-visualisation overlays there are deck.gl and the no-code kepler.gl built on it. You do not need to master any of these to use web GIS - ArcGIS Online and QGIS-to-web plugins generate web maps for you - but knowing the names lets you brief a developer and read what a tool is doing.
Leaflet to start, MapLibre when you want free GPU vector maps, OpenLayers when standards matter, Mapbox if you accept the account.
Google Earth Engine: computing in the cloud
Web GIS is not only about display. Google Earth Engine (GEE) is a cloud platform that pairs a petabyte-scale catalog of satellite and geospatial data with the compute to analyse it - free for research, education and non-commercial use (commercial use is paid). The idea inverts the normal workflow: instead of downloading gigabytes of imagery to your machine, you send a short script up to where the data already lives, and only the answer comes back.
That makes previously impossible questions routine. Map vegetation change across an entire metropolitan region over ten years; detect built-up sprawl for every city in a state; build a cloud-free composite from years of Sentinel and Landsat passes - all in minutes, in a browser, on hardware you do not own. For an Indian planner or researcher without a supercomputer, GEE is quietly transformative. We use it properly in the remote-sensing module; for now, register the shift: the cloud can be the computer, not just the delivery van.
When web GIS beats desktop - and when it does not
Reach for web GIS when the audience will not install software (clients, committees, the public); when the map must be live, interactive and shareable by a link; when many people need one always-current map; or when the analysis is too big for a laptop and belongs in the cloud (Earth Engine).
Stay on the desktop when you need heavy, precise geoprocessing and full control; when you are editing data carefully; when the work is confidential and must not leave your machine; or simply when the internet is unreliable - a real constraint on many Indian sites. The mature workflow uses both: analyse and prepare on the desktop (QGIS or ArcGIS Pro), then publish to the web for reach. Web GIS is a distribution and cloud-compute layer on top of your GIS skills, not a replacement for them.
OGC WMTS
Web Map Tile Service - pre-rendered tiles over the web
The open standard behind raster-tile base maps; the {z}/{x}/{y} pyramid you add as XYZ Tiles.
OGC API — Tiles
Modern RESTful/JSON API for map, vector and coverage tiles
The current successor approach to serving tiles, including vector tiles, over the web.
Google Earth Engine
Cloud catalog + compute for planetary-scale EO analysis
Free for research/education/non-commercial; you send code to the data. Commercial use is paid.
ISRO Bhuvan (WMS services)
India's geoportal serving map layers over the web
Indian thematic and imagery layers you can consume in a web or desktop client; free with registration.
Workshop — put a real layer on the open web
Turn a desktop layer into a browser map two ways: the no-code publish path, and a peek at a library-built map so you understand what a developer would do. Both start from the GIS you already know.
QGIS 3.44 with qgis2web (or ArcGIS Pro/Online); a free Google Earth Engine account; a modern web browser and internet.
Goal: a browser-viewable web map of one layer, plus a first look at a vector-tile map Data: an OSM or Bhuvan-sourced layer for your city (free) Time: ~40 minutes
- 1In QGIS: load your city layer, style it, then export a web map with the qgis2web plugin (choose the Leaflet option) - it writes an HTML page you can open in any browser. In ArcGIS Pro: Share, Web Map to ArcGIS Online instead, then open the link.
- 2Open the exported page and confirm you can pan, zoom and click a feature - the same layer, now with no GIS installed on the viewer's side.
- 3Switch the base map in the export from a raster-tile source to a vector-tile source (or compare a Leaflet raster map with a MapLibre vector demo) and notice the difference: the vector map restyles and stays crisp on zoom.
- 4Register for a free Google Earth Engine account and open the Code Editor. Run a supplied one-screen script that maps a vegetation index over your city - watch the result render without downloading any imagery.
- 5Note what stayed on the desktop (styling, the source data) and what moved to the browser/cloud (viewing, the heavy image computation). That division is the whole point of web GIS.
You’ll walk away with
A shareable browser map of your layer, a felt sense of raster vs vector tiles, and a first Earth Engine result computed entirely in the cloud.
Three altitudes on the same idea
Read the band that fits you — or all three.
Web GIS is how site analysis reaches a client who will never open QGIS. Publish a slippy map of context, constraints and views that they can pan on a phone; it argues your concept better than a static board. For heavy terrain or solar work, though, stay on the desktop and export the finished layer to the web.
Web GIS is the public face of a plan and the cloud engine behind its evidence. Interactive dashboards and story maps let citizens and committees explore land use and infrastructure without training, supporting consultation; Earth Engine builds the sprawl and land-cover evidence base across a whole region that a desktop could not process. Mind data-sensitivity and patchy connectivity.
The browser is where walkability and street analytics become shareable and alive. A vector-tile web map lets stakeholders toggle catchments, click a block to read its data, and see a 15-minute-city analysis update as they explore. deck.gl and kepler.gl handle big movement and access datasets that would choke a static exhibit.
“Web GIS is just desktop GIS moved online - a lighter version of the same thing.”
Do it yourself
Reason about the web before you touch it.
- 1Explain the tile pyramid in one sentence and say why it makes web maps fast.
- 2Give one thing a vector tile can do that a raster tile cannot.
- 3Name the open-source fork of Mapbox GL and say why a team might prefer it.
- 4In one line, what does Google Earth Engine let you do that your laptop cannot?
- 5List two situations where you should stay on the desktop rather than go to web GIS.
The one line to carry out
Peer-reviewed journals & authoritative standards
- 01de Smith, M.J., Goodchild, M.F. & Longley, P.A. — Geospatial Analysis: A Comprehensive Guide, 7th ed. — Winchelsea Press, 2025.
- 02Lillesand, T., Kiefer, R.W. & Chipman, J. — Remote Sensing and Image Interpretation, 7th ed. — Wiley, 2015.
- 03ISPRS International Journal of Geo-Information — MDPI, ongoing.
- 04Transactions in GIS — Wiley, ongoing.
Desktop, paid and web GIS all assume your data is already spatial - but a designer's world runs on CAD drawings and BIM models that speak a different language, so the module closes on how GIS, CAD and BIM talk to each other.
The author
Amogh N P
Architect, interior designer, and creative polymath. Studio Matrx began in his notebooks — his vision of design made honest, useful, and open to everyone. Its Academy is written and taught in his memory, and free, forever.
More about Amogh →