Leaflet 2GIS plugin
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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] (http://emikhalev.github.io/leaflet-2gis/)

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.