nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit a8726256cc5b198d9539bdb2a679b96e3fda62fb
parent fc9d9a65a8eb00444d542c19d75f0d314a3e17fd
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Mon,  6 Mar 2017 22:46:06 +0300

[soviet maps grid] show menu also on right click

Diffstat:
Msrc/lib/leaflet.layer.soviet-topomaps-grid/index.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/leaflet.layer.soviet-topomaps-grid/index.js b/src/lib/leaflet.layer.soviet-topomaps-grid/index.js @@ -206,7 +206,7 @@ L.Layer.SovietTopoGrid = L.LayerGroup.extend({ this.addLayer(marker); objects.push(marker); this._quads[id] = objects; - marker.on('click', this._showContextMenu.bind(this, scale, titles)); + marker.on('click contextmenu', this._showContextMenu.bind(this, scale, titles)); }, _showContextMenu: function(scale, titles, e) {