Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Leaflet.js: Interactive Web Maps with GeoJSON & Plugins
Rating: 4.2 out of 5(16 ratings)
109 students

Leaflet.js: Interactive Web Maps with GeoJSON & Plugins

Build JavaScript maps step by step: markers, shapes, events, GeoJSON, layers and plugins, with exercises and solutions
Created byWahi Soufiane
Last updated 4/2026
English
English

What you'll learn

  • Build an interactive web map with Leaflet.js from scratch
  • Add markers, shapes and popups, and respond to user events
  • Load, display and style GeoJSON data, with a layer control and switchable tiles
  • Understand core mapping concepts: coordinates, layers, projections and spherical distance
  • Extend maps with plugins for drawing, animated routes and marker clustering
  • Read Leaflet and plugin documentation confidently to keep learning on your own

Course content

6 sections • 36 lectures • 3h 59m total length
  • Introduction2:19

    Discover how to use Leaflet JS effectively through clear guidance, practical practice, and plugin integration, with emphasis on documentation, GPS tracking examples, and building real projects.

  • What will we learn?1:41

    Explore why and how to use Leaflet JS, understand core concepts and the architecture, then build a map with forms and finally enhance it with plugins to master Leaflet.

  • What is Leaflet?0:33

    Leaflet is a JavaScript library that helps us build interactive maps. This lecture focuses on how to choose Leaflet, with the selection covered in the next lecture.

  • Why Leaflet?8:06

    Discover why Leaflet is an open-source mapping library with excellent documentation and extensible plugins. Learn how its active community, markers, shapes, and map tiles simplify flexible web maps.

Requirements

  • Basic JavaScript and HTML
  • A code editor and a web browser; no GIS or mapping experience needed

Description

Leaflet.js is the open-source JavaScript library behind countless web maps, from store locators to fleet tracking dashboards. It is lightweight, free, and far more capable than most developers realise.

This course takes you from zero to a complete map app, step by step. You start with the mapping concepts you need, understand how Leaflet is built, then write code: markers, shapes, popups, events, layers, tiles and GeoJSON. Then you extend your maps with plugins for drawing, animated routes and clustering thousands of markers.

You practise as you go: two hands-on exercises with full video solutions, and three quizzes.

What you will learn

  • Mapping concepts: coordinates, layers, projections and distances on a sphere

  • How Leaflet is structured, and how to read its documentation

  • Create a map, add markers, shapes and popups, and react to user events

  • Measure the distance between points

  • Add a layer control and switch base map tiles

  • Load and display GeoJSON data

  • Use and evaluate plugins: Leaflet.draw, animated routes (SnakeAnim) and PruneCluster

Who this course is for

  • Web developers who want to add interactive maps to their apps

  • Developers building location-based, logistics or GPS tracking front ends

  • Students and GIS beginners who want a practical start with web mapping

Frequently asked questions

Do I need GIS experience? No. The concepts section covers what you need.

Do I need a paid map service? No. Leaflet is free and open source.

Does it cover React or a backend? No. The course uses plain HTML and JavaScript, so it applies to any framework.

Is the source code included? Yes. The code is attached to the lectures, so you can follow along or compare with your own.

AI disclosure: the course videos were recorded by the instructor. Some description text was drafted with AI assistance and reviewed by the instructor.

Who this course is for:

  • Web developers adding maps to their apps
  • Developers building location, logistics or GPS tracking interfaces
  • GIS beginners who want a practical start in web mapping
  • Students and hobbyists curious about interactive web maps