Skip to content

More tutorials needed #4239

Open
Open
@IvanSanchez

Description

The tutorials page needs some love. Leaflet has a lot of features, but there are tutorials for just a bunch of them.

We should spend some time converting some of the pages in the debug/ directory into tutorials/examples.

A non-comprehensive list:

  • Complete newbie's guide to How To Use a Leaflet Plugin
  • Image overlays (prettier version of image-overlay.html)
    Refactor / Extend VideoOverlay (ImageOverlay, SVGOverlay) #8090
  • Map bounds (with bounceAtBounds)
  • Layer opacity
  • WMS (with special attention to Leaflet/WMS nomenclature about the term "layer")
  • Fractional zoom controls (prettier version of zoomdelta.html)
  • setView, setZoom, fitBounds and flyTo (prettier version of zoompan.html)
  • L.CRS.Simple
  • Custom CRSs (using, for example, a map of the galaxy with galactic CRS)
  • A primer on how to create Leaflet plugins (L.Class, L.Class.include vs L.Class.extend, etc)
  • Event propagation, and how to stop click events from reaching the map (this is going to be a FAQ)

From #3271:






Suggestions from this thread:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions