Home
Softono
leaflet-2gis

leaflet-2gis

Open source MIT JavaScript
106
Stars
7
Forks
3
Issues
6
Watchers
2 years
Last Commit

About leaflet-2gis

Leaflet 2GIS plugin

Platforms

Web Self-hosted

Languages

JavaScript

Links

Leaflet 2GIS

 

This plugin adds 2GIS support to the LeafletJS.

Requirements

  • Leaflet 0.7.3 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.