Hi.
It is possible to default show description of the marker?
Now i have marker and i must click on him to show description.
Show marker info
-
- Phoca Member
- Posts: 28
- Joined: 05 Sep 2009, 09:52
Show marker info
Sory for my poor EN.
-
- Phoca Member
- Posts: 28
- Joined: 05 Sep 2009, 09:52
Re: Show marker info
Anybody can't help me? I show on attachment what i want mod.
Now i have default view like on image number 2 but i want default view like on image number 1.

Now i have default view like on image number 2 but i want default view like on image number 1.

Sory for my poor EN.
- Jan
- Phoca Hero
- Posts: 48663
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Show marker info
Hi, for now there is no such option, I don't know if there is some parameter for this, but maybe there is one in Google Maps API, If yes, then this needs to be customized in the code then

Jan


Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 16 Jan 2010, 22:52
Re: Show marker info
Hello Jan,
I'm looking for this option, too. I tried to find out what i have to change and i found a solution:
I' ve only added "markerPhocaMarker1PlgPM1.openInfoWindowHtml..." once again without the click-function and so it will be shown immediately and it will be also clickable. I found it in the soucecode of another Joomla-Google-Maps-Plugin.
Could you perhaps put it in the next update?
Peter
I'm looking for this option, too. I tried to find out what i have to change and i found a solution:
I' ve only added "markerPhocaMarker1PlgPM1.openInfoWindowHtml..." once again without the click-function and so it will be shown immediately and it will be also clickable. I found it in the soucecode of another Joomla-Google-Maps-Plugin.
Code: Select all
markerPhocaMarker1PlgPM1.openInfoWindowHtml('<h1>Blablabla</h1><div><p>Blablabla</p></div>');
GEvent.addListener(markerPhocaMarker1PlgPM1, 'click', function() {
markerPhocaMarker1PlgPM1.openInfoWindowHtml('<h1>Blablabla</h1><div><p>Blablabla</p></div>');
});
Peter
- Jan
- Phoca Hero
- Posts: 48663
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Show marker info
Hi, added into the feature request list.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 27 May 2009, 13:56
- Location: Greece
Re: Show marker info
Hello Peter,
May i ask where you placed the code? I'm also interested in finding a solution my self and have not found a way to make markers to auto show when the page loads..
thank you
Samantha
May i ask where you placed the code? I'm also interested in finding a solution my self and have not found a way to make markers to auto show when the page loads..
thank you
Samantha