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 !!!
Link to a marker
- Jan
- Phoca Hero

- Posts: 49134
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Link to a marker
Hi, you can make e.g. 10 maps and every map get one link, then you can create (via plugin) link to every map.
If you find Phoca extensions useful, please support the project
-
jeromebg
- Phoca Newbie

- Posts: 7
- Joined: 23 Jun 2009, 19:09
Re: Link to a marker
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???)
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???)
- Jan
- Phoca Hero

- Posts: 49134
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Link to a marker
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
"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
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49134
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Link to a marker
Hi, I tested it now and everything works for me
maybe I don't understand it well:
maybe I don't understand it well:
If I paste some image into the description and the map is displayed through the popup link, the image is displayed correctly ???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 you find Phoca extensions useful, please support the project
-
jeromebg
- Phoca Newbie

- Posts: 7
- Joined: 23 Jun 2009, 19:09
Re: Link to a marker
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
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
- Jan
- Phoca Hero

- Posts: 49134
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Link to a marker
Hi, try to disable SEF or enable the CORE SEF (I have tested it without SEF or with CORE SEF enabled)
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49134
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Link to a marker
Hi, what exactly you mean:
there is description for the marker and for the map.So how did you finally manage that the description above the marker is automatically displayed when loading the map?
If you find Phoca extensions useful, please support the project
-
gzres
- Phoca Newbie

- Posts: 5
- Joined: 16 Oct 2009, 20:27
Re: Link to a marker
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?
-
ellendil
- Phoca Newbie

- Posts: 3
- Joined: 26 Feb 2010, 18:04
Re: Link to a marker
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?
i would also like to make links to a certain marker on my map. is there any way to do this?