Hi
I'm using worldmap and I have displayed an area with an associated context menu, containing buttons.
onclick successfully invokes the delMarker, however for one of the buttons I would like feedback to be invoked, so that I can respond to the worldmap in action. (see code snippet below)
I have debug connected to the worldmap in node but I cont get an action when I click on the context menu button associated with the feedback
Any suggestions
thanks
msg.payload = {
name: 'TestSurveyLocal',
fillColor:'red',
area: [ [50.883333,-2.808333], [50.884444,-2.810556], [50.884444,-2.809167], [50.884167,-2.807778]],
contextmenu: '<button name="EditSurvey" onclick=\'editPoly("TestSurveyLocal")\'>Edit Survey Task</button><br>' +
'<button name="SpraySurveyButton1" onclick=\'feedback("sprayBtn","doIt")\'>Spray Survey Task</button><br>' +
'<button name="DeleteSurveyButton" onclick=\'delMarker("TestSurveyLocal")\'>Delete Survey Task</button><br>' +
'<b>Double click survey to finish editing</b>'
};