Schlumpf / osmodul

OSModul has moved to Gitlab!
https://gitlab.com/schlumpf/osmodul
8 stars 3 forks source link

Calling marker to pop-up #7

Closed February2 closed 8 years ago

February2 commented 8 years ago

Hi Guys, can someone tell me how to call particular marker on map to pop-up when button in joomla article was clicked? Suggested tip (Sydney) in osm modul wiki doesn't work for me. I have changed the map & marker IDs and clicking on word "SYDNEY" does nothing...

Thank You in advance for help :-)

Schlumpf commented 8 years ago

Hi, there is a snare. Joomla's TinyMCE editor strips down the HTML code an removes the span element. I updated the wikipage and found a workaround.

Please tell me if it works for you or if you have still problems.

February2 commented 8 years ago

Nah, it doesn't work :-( Maybe I do something wrong?

website's address (work in progress): http://wleborku.pl/index.php?option=com_content&view=article&id=6:i-urzad-pocztowy-lebork&catid=18&Itemid=122

Schlumpf commented 8 years ago

You have to write mpM110_up1. With M, not P. By the way, on the latest wiki update, I changed the onclick=... code, but your problem is the P.

February2 commented 8 years ago

Yep! You are right :-) Thank You

If You find a spare moment - function provided in tips&tricks focuses map on marker but without Pop-up ;-)