How do I add action to OSM plugin?

Get help using Construct 2

Post » Thu Jan 14, 2016 10:55 am

Hi to all

In my app i use OSM plugin for the street map.
In my map i have a marker at Latitude "50.82743" and longitude "4.45409"

I would like when i click on THAT marker a video start, i have done that actually the video start BUT it happens when i click on any marker.
How to tell to my app to ONLY start the video when THAT marker is clicked?

Thanks for the help.
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Thu Jan 14, 2016 12:10 pm

i seriously need help with this issue !!!
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Thu Jan 14, 2016 12:24 pm

imothep85 wrote:i seriously need help with this issue !!!


You know better than to bump after only an hour. Especially as it;s the exact same question you asked in various ways last October.

Please have a little patience.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
129
S
29
G
77
Posts: 5,195
Reputation: 54,297

Post » Fri Jan 15, 2016 9:30 am

i get no help thats why im still asking for hep solving that problem with osm plugin.
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Fri Jan 15, 2016 7:44 pm

So what is the event you are using?
How are you telling C2 which marker you clicked and only to perform the action on clicking on that specific marker?
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 Jan 18, 2016 9:27 am

I started again but with Googlemap plugin, instead of OSM.

this is what i have, my actual problem is HOW to tell to my app at START of layout googlemap show the use location i use geolocalisation for that .
Actually when i start the app, it add my position somewhere in teh ocean...
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Mon Jan 18, 2016 10:08 am

Ok back to OSM,

in BLUE is my location, RED are the markers i added,
Image

My problem is i WANT to just tell to my app WHEN i click on a specific marker i would like my video start, the problem is, it works but with all the markers.Hre are the options i have with OSM

http://s18.postimg.org/rfzt5y9ef/OSM_markers_option.jpg
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Mon Jan 18, 2016 10:08 am

I don't know what to add for that event
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Tue Jan 19, 2016 9:32 am

If someone can help
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Tue Jan 19, 2016 1:05 pm

I'm not sure why you don't understand that Osm.clickedmarker is not the same as UID..


You could ofcourse compare osm.clickedmarker..
If you set a text to osm.clickedmarker on marker clicked, you will see what information this expression actually gives, so you know what your comparison should be..
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

Next

Return to How do I....?

Who is online

Users browsing this forum: 13spongg13, Kenthria and 10 guests