Page 1 of 2

Link to a marker

Posted: 23 Jun 2009, 19:15
by jeromebg
Hi there, and a big bravo for your component/plugin wich looks great !
Is there a way to make a link (in an article for exemple) to open a marker ?
If am not clear here is a situation:
I display a map with severals markers on it.
I would like to put texte above with the name of the locations and a link like "Show this location" an I would like the google bullet to pop up then...
Is it possible ?
I looked to the links wich all looks like javascipt:void(0)
Thanx for your help !!!

Re: Link to a marker

Posted: 23 Jun 2009, 23:34
by Jan
Hi, you can make e.g. 10 maps and every map get one link, then you can create (via plugin) link to every map.

Re: Link to a marker

Posted: 24 Jun 2009, 00:15
by jeromebg
Yes, that's a solution but I would like the google bullet to pop up automaticly ...
Is there a way ?
Thanx for your reply !

By the way, the popup (or linked) template has a problem with images in the desription, the url is wrong it puts the url of the component before the url of the images (am not sure to be clear???)

Re: Link to a marker

Posted: 24 Jun 2009, 22:18
by Jan
Hi, sorry I don't understand:

"that's a solution but I would like the google bullet to pop up automaticly"

Image in description: I will take a look at it.

Jan

Re: Link to a marker

Posted: 24 Jun 2009, 22:25
by Jan
Hi, I tested it now and everything works for me :(

maybe I don't understand it well:
By the way, the popup (or linked) template has a problem with images in the desription, the url is wrong it puts the url of the component before the url of the images (am not sure to be clear???)
If I paste some image into the description and the map is displayed through the popup link, the image is displayed correctly ???

Re: Link to a marker

Posted: 25 Jun 2009, 09:09
by jeromebg
that's right, in the normal view (view=map) everything is ok.
now is you use the view=link the description of the markers are displayed but if you have an image in it, the path is wrong, it puts component/option,com_phocamaps/id,5/tmpl,component/view,map before the path of the image so you have http://www.mywebsite.com/component/opti ... yimage.jpg instead of www.mywebsite/images/stories/myimage.jpg

Re: Link to a marker

Posted: 25 Jun 2009, 16:08
by Jan
Hi, try to disable SEF or enable the CORE SEF (I have tested it without SEF or with CORE SEF enabled)

Jan

Re: Link to a marker

Posted: 24 Jul 2009, 13:56
by Jan
Hi, what exactly you mean:
So how did you finally manage that the description above the marker is automatically displayed when loading the map?
there is description for the marker and for the map.

Re: Link to a marker

Posted: 16 Oct 2009, 20:36
by gzres
jeromebg wrote: Is there a way to make a link (in an article for exemple) to open a marker ?

Hi
Maybe i'm not original but graet work. I search something like this long time.

I want back to question in quote. I have map with 20 markers now bu i want add few more. Creat so many maps is no solution for me. Is any other possibility to do it?

Re: Link to a marker

Posted: 27 Feb 2010, 12:50
by ellendil
does anyone care about the users?
i would also like to make links to a certain marker on my map. is there any way to do this?