SOLVED!!! how to remove position Markers in Geolocalisation?

Get help using Construct 2

Post » Fri Jan 29, 2016 9:03 am

Hello to all

In my app the user is represented by a green marker on the OSM plugin
Image

My problem is, HOW to REMOVE the previous position of the user??

Here are my code events

Image

Thanks to everyone.
Last edited by imothep85 on Tue Feb 02, 2016 1:37 pm, edited 2 times in total.
B
32
S
12
G
6
Posts: 1,624
Reputation: 8,573

Post » Fri Jan 29, 2016 12:37 pm

i REALLY need a solution !!!!
B
32
S
12
G
6
Posts: 1,624
Reputation: 8,573

Post » Fri Jan 29, 2016 7:01 pm

i nees HELP for ending with this problem
B
32
S
12
G
6
Posts: 1,624
Reputation: 8,573

Post » Sat Jan 30, 2016 6:50 pm

can someone help?
B
32
S
12
G
6
Posts: 1,624
Reputation: 8,573

Post » Sat Jan 30, 2016 9:25 pm

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..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Feb 01, 2016 9:32 am

aah Littlestain thanks again im going to try that
B
32
S
12
G
6
Posts: 1,624
Reputation: 8,573

Post » Mon Feb 01, 2016 10:16 am

Thanks again Little stain i solved that :D

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
B
32
S
12
G
6
Posts: 1,624
Reputation: 8,573

Post » Mon Feb 01, 2016 1:28 pm

I ALMOST finished with all my problems :D

NOW i have this to solve
Image

How to tell to the app when that marker is clicked THEN video is played, actually with my code it's not working :p
B
32
S
12
G
6
Posts: 1,624
Reputation: 8,573

Post » Mon Feb 01, 2016 1:36 pm

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 told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Feb 01, 2016 2:10 pm

i have text object who show the infos about the clicked markers
Image

And for the text i did: Every tick set text to osm.clicked_marker

Image
B
32
S
12
G
6
Posts: 1,624
Reputation: 8,573

Next

Return to How do I....?

Who is online

Users browsing this forum: Aergo, anty21ro, Ethan, Fenix18, Iftikhar555, oosyrag and 15 guests