Initialized rclk object. While using the "layer" command, the feedbac… (#176)
* initialized rclk as an empty object
This commit is contained in:
parent
7fa64ee1f1
commit
7957c9770d
@ -662,7 +662,7 @@ map.on('moveend', function() {
|
|||||||
var addmenu = "<b>Add marker</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon, layer, colour, heading)'/>";
|
var addmenu = "<b>Add marker</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon, layer, colour, heading)'/>";
|
||||||
var rightmenuMap = L.popup({keepInView:true, minWidth:250}).setContent(addmenu);
|
var rightmenuMap = L.popup({keepInView:true, minWidth:250}).setContent(addmenu);
|
||||||
|
|
||||||
var rclk;
|
var rclk = {};
|
||||||
var hiderightclick = false;
|
var hiderightclick = false;
|
||||||
var addThing = function() {
|
var addThing = function() {
|
||||||
var thing = document.getElementById('rinput').value;
|
var thing = document.getElementById('rinput').value;
|
||||||
|
Loading…
Reference in New Issue
Block a user