[uMap] various problems editing maps
Harald Linden
harald.linden at 7183.org
Mon Mar 7 15:32:54 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Am 07.03.2016 um 15:43 schrieb Yohan Boniface:
> Can you share the console log?
Yes, of course. This happens when I click the "marker"-button:
Uncaught Error: No value provided for variable {name}(anonymous
function) @ 28e5f8d7eaae.js:7L.Util.template @
28e5f8d7eaae.js:7L.Storage.Icon.L.DivIcon.extend.formatUrl @
27f2d290e8f9.js:86L.Storage.Icon.L.DivIcon.extend._getIconUrl @
27f2d290e8f9.js:83L.Storage.Icon.Default.L.Storage.Icon.extend.createIcon
@ 27f2d290e8f9.js:86L.Marker.L.Class.extend._initIcon @
28e5f8d7eaae.js:188L.Storage.Marker.L.Marker.extend._initIcon @
27f2d290e8f9.js:122L.Marker.L.Class.extend.onAdd @
28e5f8d7eaae.js:184L.Map.L.Class.extend._layerAdd @
28e5f8d7eaae.js:122L.Map.L.Class.extend.addLayer @
28e5f8d7eaae.js:82L.LayerGroup.L.Class.extend.addLayer @
28e5f8d7eaae.js:243L.FeatureGroup.L.LayerGroup.extend.addLayer @
28e5f8d7eaae.js:251L.Storage.DataLayer.L.Class.extend.addLayer @
27f2d290e8f9.js:168L.S.Editable.L.Editable.extend.connectCreatedToMap
@ 27f2d290e8f9.js:203L.Editable.L.Class.extend.startMarker @
28e5f8d7eaae.js:501L.Storage.Map.include.startMarker @
27f2d290e8f9.js:277handler @ 28e5f8d7eaae.js:358
This happens at:
return((!existingUrl||existingUrl.indexOf('?')===-1)?'?':'&')+params.join('&');},template:function(str,data){return
str.replace(/\{ *([\w_]+) *\}/g,function(str,key){var
value=data[key];if(value===undefined){throw new Error('No value
provided for variable '+str);}else if(typeof
value==='function'){value=value(data);}
...and when I try to cancel the edit after that, this happens:
Uncaught TypeError: Failed to execute 'removeChild' on 'Node':
parameter 1 is not of type 'Node'.L.Marker.L.Class.extend._removeIcon
@ 28e5f8d7eaae.js:198L.Marker.L.Class.extend.onRemove @
28e5f8d7eaae.js:185L.Storage.FeatureMixin.onRemove @
27f2d290e8f9.js:117L.Map.L.Class.extend.removeLayer @
28e5f8d7eaae.js:84L.LayerGroup.L.Class.extend.eachLayer @
28e5f8d7eaae.js:247L.LayerGroup.L.Class.extend.onRemove @
28e5f8d7eaae.js:247L.Map.L.Class.extend.removeLayer @
28e5f8d7eaae.js:84L.Storage.DataLayer.L.Class.extend.hide @
27f2d290e8f9.js:185L.Storage.DataLayer.L.Class.extend.reset @
27f2d290e8f9.js:179(anonymous function) @
27f2d290e8f9.js:267L.Storage.Map.include.reset @
27f2d290e8f9.js:266L.Storage.Map.include.askForReset @
27f2d290e8f9.js:276handler @ 28e5f8d7eaae.js:358
This happens at:
this._map._panes.markerPane.removeChild(this._icon);this._icon=null;},_removeShadow:function(){if(this._shadow){this._map._panes.shadowPane.removeChild(this._shadow);}
Hope that helps!
Harald
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJW3Z8lAAoJEF1OmwAaJLoDAbsP/2Et5O5ZHKgE3/pg1zEcONLT
iGx51a4/K/GZghDvwyqyn5E/W6mtMFOTi/5T4WM63C4kcvZD77nK7RRr9SRw7cLh
wybfrphKSShIzAgQb4GB7eQg3PvJNQ21wJGxLxZeFwnMIoq0XMf5NIkZ2DoDwpQd
UuFfI7TeLIJ/WBoDLvjwCVr4sbi4X75VCLJMeUMsunM/ygHEcsYAg5UxMRYOtJbH
xrFCvrG7dOW27sEe0w2oSuzTaKIjNipxPQfJzEkRhVQL7bAsvqwQhZc/a2hWSvzZ
Y6pp7LMhA3z1e4DMpFmlXnbonalejIJvxwjvB+sfNfW3T23CizF0pApOeAaatP4H
5Mr0V9BxH2eAcM8XQTUC3tX1b6CtMRNRG/ddxtz3DPfzbZab61FD93vLU20BaiBo
XyGWPqvV9SBPAetAg5v3cQyQP+wmv4ghSKdTHhNu4zi32TsC5o96o+pwqq1Nep88
yLzuwxddDUvapdb+3VWfTFOVj7yqkW4trF/BzXUis+tLJuLT0kAyuuwXIc/YV37W
Mz99ILuDL26e/4EVs3Eu0hxQadbCHzR33nZwVB3N+JDi4+693xW8qdEN2V3A4wd0
GRWAtoxMExmIPy+WwI1oeQFxl4t4wJcGhf1ZxsOk2P/pBpGwC3vQVEWCUfDsauji
kRgRXodCpbwVUNOWfHyx
=AVli
-----END PGP SIGNATURE-----
More information about the Umap
mailing list