Hi evgene, we met again here. lol
I have a button. The button is like toogle button, on off conditions.
Its invoke 2 services when ON CONDITION:
The steps are:
1) Invoke one database service(list) is for search data from collection.
2) On success event from first collections, it's invoking database(list) for retrieve data from another collections. On this service, I use to show the markers, which marker's data are set from this database service. And it done. Markers shown
*i didn't use array for store the data
When markers shown, button condition is on. But when it clicked again, it change condition to off.
In OFF CONDITION, i want to clear this map.
if my answer is makes you feel confuse. maybe its makes you clear about this problem.
1)
2)
3)
4)
5) i want to clear this marker on button like toogle