Git Product home page Git Product logo

leaflet.filelayer's Introduction

Leaflet.FileLayer (with MapLayer Support)

Forked from https://github.com/makinacorpus/Leaflet.FileLayer

Loads local files (GeoJSON, JSON, GPX, KML, MapLayer) into the map using the HTML5 FileReader API, without server call !

Does everything the original does - so see https://github.com/makinacorpus/Leaflet.FileLayer for details, but adds support for loading .maplayer definition files. So for example users can load a file that adds a dynamic layer to the map.

For example

{
	"name": "OpenRailwayMap - Standard",
	"type": "overlay",
	"url": "https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png", 
	"attribution": "Rendering: <a href=https://www.openrailwaymap.org/>OpenRailwayMap</a>"
}

could be saved as OpenRailwayMap.maplayer and when uploaded, would render https://www.OpenRailwayMap.org/ tiles as a new layer on map (using L.TileLayer)

(Full definition of .maplayer files to follow!)

... currently supports basic L.TileLayer layers, support for more like, WMS, ImageOverlay and 'AJAX' vector layers expected soon!

Authors

Makina Corpus

Contributions

  • Barry Hunter
  • Mathieu Leplatre
  • Joey Baker http://byjoeybaker.com
  • CJ Cenizal
  • Jens-duttke
  • Jmuccigr
  • Matthew Mueller
  • George Silva
  • Simon Bats
  • Opoto
  • Lachlan Phillips
  • kkdd

leaflet.filelayer's People

Contributors

leplatrem avatar sbats avatar opoto avatar joeybaker avatar muellermatthew avatar barryhunter avatar cjcenizal avatar fredericbonifas avatar jens-duttke avatar jmuccigr avatar kkdd avatar thorinii avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.