This plugin adds 2GIS support to the LeafletJS.
- Leaflet 0.7.3 or newer
- 2GIS api library (see example)
See demo
var map = new L.Map("map", {
center: new L.LatLng(54.99014, 73.365319),
zoom: 10,
zoomAnimation: false,
zoomDelta: 1,
attributionControl: false
});
var dgis = new L.DGis();
map.addLayer(dgis);
Leaflet 2GIS is free software, and may be redistributed under the MIT-LICENSE.