Code: Select all
button "set marker"
on mouseUp pButtonNumber
local tMarkers
put "45.4200191,9.4040401" into tMarkers["test"]["coordinates"]
put "TEST" into tMarkers["test"]["title"]
set the markers of widget "MapISY" to tMarkers
end mouseUp
button "delete marker"
on mouseUp pButtonNumber
set the markers of widget "MapISY" to empty
end mouseUp