1.0.1 • Published 11 months ago

leaflet-2gis v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Leaflet 2GIS

 

This plugin adds 2GIS support to the LeafletJS.

Requirements

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

Demo

See demo

Examples

Usage

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);

License

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