Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 496 Bytes

Leaflet 2GIS plugin

This plugin add 2GIS support to the leaflet.

Requirements

  • Leaflet 0.6 or newer
  • 2GIS api library (see example)

Demo

See demo

Usage

var map = new L.Map("map", {
    center: new L.LatLng(54.99014, 73.365319), 
    zoom: 10,
    zoomAnimation: true 
});
var dgis = new L.DGis();
map.addLayer(dgis);

License

Leaflet 2GIS is free software, and may be redistributed under the MIT-LICENSE.