Page 1 of 1

Map markers delete

Posted: Fri May 03, 2019 9:36 am
by link76
In a mobile environment using the Map widget (LC 9.0.4 rc3) when a marker point is created and then deleted, it cannot be entered with the same name. In desktop environment it works correctly.

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