Link to a marker

Phoca Maps - displaying maps in Joomla! CMS
jeromebg
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 23 Jun 2009, 19:09

Link to a marker

Post 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 !!!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to a marker

Post 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.
If you find Phoca extensions useful, please support the project
jeromebg
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 23 Jun 2009, 19:09

Re: Link to a marker

Post 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???)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to a marker

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to a marker

Post 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 ???
If you find Phoca extensions useful, please support the project
jeromebg
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 23 Jun 2009, 19:09

Re: Link to a marker

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to a marker

Post by Jan »

Hi, try to disable SEF or enable the CORE SEF (I have tested it without SEF or with CORE SEF enabled)

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Link to a marker

Post 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.
If you find Phoca extensions useful, please support the project
gzres
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Oct 2009, 20:27

Re: Link to a marker

Post 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?
ellendil
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 26 Feb 2010, 18:04

Re: Link to a marker

Post 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?
Post Reply