Skip to content

Latest commit

 

History

History
64 lines (56 loc) · 2.15 KB

File metadata and controls

64 lines (56 loc) · 2.15 KB

Dominique92.MyLeaflet

Leaflet extensions for

  • GeoJson ajax layers,
  • Multi vendors maps & projections:
- OSM, Maps.Refuges.Info
- ThunderForest Outdoors, Cycles, Landscape, Transport
- IGN France, cadastre, photos
- SwissTopo
- IDEE España, photos
- IGM Italie
- OS Great Britain
- Kompass Austria
- Bing Microsoft, photos
- Google maps, photos
  • Editable position marker with multi-projection position display,
  • Markers, polylines & polygons editor.
  • Keep position, zoom & zoom on cookies

DEMO

See a DEMO here

VERSION

This master branch is now build on Leaflet V1.2.0.

You can find the old, not anymore supported, MyLeaflet V0.7 here

USAGE

  • Include MyLeaflet for production (compressed files):
<link  href="dist/leaflet.css" rel="stylesheet" />
<script src="dist/leaflet.js"></script>
  • Dist compressed files generation: run build/index.php

  • For tinny distribution: only copy dist/... files

  • Include MyLeaflet for developpement (full sources):

<link  href="src/leaflet.css" rel="stylesheet" />
<script src="src/leaflet.js"></script>

FILES

  • /build/... : Files compression tool.
  • /dist/... : Tinny distribution files.
  • /node_modules/... : Local copy of some Leaflet kernel & pluggins files used in this library.
  • /src/... : Sources specific to MyLeaflet.
  • /src/leaflet.css /src/leaflet.js : List of source files included in this package.
  • /index.html : generic demo on a non PHP server.
  • /index.php : generic demo on a PHP & MySql server.
  • /examples/... : Demo files or ongoing developments.

Other Leaflet Plugins from this collection