leaflet-2gis

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i leaflet-2gis

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

59.6 kB

Total Files

15

Last publish

Collaborators

  • emikhalev