Is there a way to change the options assigned to a marker (for example the image or visibility)
<code>
local options1 =
{
title = “Displayed Title”,
subtitle = “subtitle text”,
listener = markerListener,
imageFile = “someImage.png”,
isVisible = true
}
local result = myMap:addMarker( 37.331692, -122.030456, options )
</code>
and later
<code>
result.options.image = “anotherImage.png”
result.options.isVisible = false
</code>
Or should it be removed first and then added with the new options ?