Hello to all
In my app the user is represented by a green marker on the OSM plugin
My problem is, HOW to REMOVE the previous position of the user??
Here are my code events
Thanks to everyone.
i REALLY need a solution !!!!
i nees HELP for ending with this problem
can someone help?
There is only an option to remove all markers, so you you should remove all and then recreate all..
If you do this in one event it won't even be visible..
aah Littlestain thanks again im going to try that
Thanks again Little stain i solved that
NOW last problem i need just to knwo HOW to make a marker, whe nit is clicked, THEN i play a video ( iknow how to add the actions for the video) but i dont know how to compare wich marker is clicked
I ALMOST finished with all my problems
NOW i have this to solve
How to tell to the app when that marker is clicked THEN video is played, actually with my code it's not working :p
Develop games in your browser. Powerful, performant & highly capable.
What is the value of osm.clicked_marker?
You'd have to know what osm.clicked_marker actually is before you can compare it to anything..
You can have a text-object show you that exact value, than just enter that value in the comparison event..
i have text object who show the infos about the clicked markers
And for the text i did: Every tick set text to osm.clicked_marker
So it should be easy right?
That is exactly what you should compare with the osm.clicked_marker to get the one you want to select..
i tried a lot of formulas
here it's my last try but nothing works
Can someone Help with this last issue?
Im lost with the right formula to put in place.
FINALLY SOLVED!!!
Thanks to everyone