Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 496 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 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] (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.