|
|
Marker question - 2008/04/02 11:21
If a gmap is shown and you click on a POI, a balloon opens up with the title and the description shown. Is it also possible to show only the description?
The administrator has disabled public write access.
|
|
|
Re:Marker question - 2008/04/03 16:39
You should be able to use CSS to hide the marker name/title. Google "W3C school css" and you should find what you are looking for. The class used in the marker is "markerName". Chris
The administrator has disabled public write access.
|
|
|
Re:Marker question - 2008/04/08 13:58
support wrote: You should be able to use CSS to hide the marker name/title. Google "W3C school css" and you should find what you are looking for. The class used in the marker is "markerName". Chris Hi Chris, thanks for your replay, I tried it, changed a simple thing, like the color, but it doesn't change in my google-map on my site. Also in the admin section when I edit the marker, the color isn't changed. Do you have any idea?
The administrator has disabled public write access.
|
|
|
Re:Marker question - 2008/04/09 20:01
send me the url and I'll take a look. I normally don't like to deal with CSS and so long as it will help the community, I will see what I can do.
The administrator has disabled public write access.
|
|
|
Re:Marker question - 2008/04/10 11:27
Hi Chris, Thanks for your help! I appraise that. My link is: http://www.motorcamping.eu/index.php?option=com_content&view=article&id=113&Itemid=69
In the css file i changed the markername and description to:
.markerName { color:red; text-decoration: underline; font-size: 16px; }
.markerDescription { color:red; font-size: 12px; }
But it still shows black and blue, Thanks, Regards, MrUfip
The administrator has disabled public write access.
|
|
|
Re:Marker question - 2008/04/10 16:55
add the following to markerName ...
display: none;
that should do it.
The administrator has disabled public write access.
|
|
|
Re:Marker question - 2008/04/11 04:13
support wrote: add the following to markerName ...
display: none;
that should do it. Hi Chris,
I added it to the code,
.markerName { color:red; text-decoration: underline; font-size: 16px; display: none; }
.markerDescription { color:red; font-size: 12px; }
But it still doesn't work Isn't it possible to disable the markerName-show up in the code from Gmaps-Pro? Instead of through the css?
The administrator has disabled public write access.
|
|
|
Re:Marker question - 2008/04/11 05:02
sorry .. but that should do it. Now, the real problem is the gmaps.css file isn't being included in your page. I'd suggest you include the gmaps.css file into the index.php of your template to ensure it gets resolved. Or, just place the markername CSS rules into your templates template_css.css file.
GMaps uses the addCustomHeadTag to add the CSS file and it doesn't appear to be working. So I may have a bug.
Could you do me a favor and change line # 15 in the gmapspro.php file?
Change line 15 from
| Code: |
global $database, $my, $mosConfig_live_site, $mosConfig_absolute_path;
|
to ...
| Code: |
global $database, $my, $mosConfig_live_site, $mosConfig_absolute_path, $mainframe;
|
Let me know if that fixes this before adding the CSS rule to the template css. I'd appreciate it.
Chris
The administrator has disabled public write access.
|
|
|
Re:Marker question - 2008/04/11 11:18
support wrote: sorry .. but that should do it. Now, the real problem is the gmaps.css file isn't being included in your page. I'd suggest you include the gmaps.css file into the index.php of your template to ensure it gets resolved. Or, just place the markername CSS rules into your templates template_css.css file.
GMaps uses the addCustomHeadTag to add the CSS file and it doesn't appear to be working. So I may have a bug.
Could you do me a favor and change line # 15 in the gmapspro.php file?
Change line 15 from
| Code: |
global $database, $my, $mosConfig_live_site, $mosConfig_absolute_path;
|
to ...
| Code: |
global $database, $my, $mosConfig_live_site, $mosConfig_absolute_path, $mainframe;
|
Let me know if that fixes this before adding the CSS rule to the template css. I'd appreciate it.
Chris
Hi Chris,
I changed the code (I found it on line 51 instead of 15), but the code I have was:
global $database, $my, $mosConfig_live_site;
I changed it into the code from you (also the before code), but both didn't work.
The administrator has disabled public write access.
|
|
|
Re:Marker question - 2008/04/11 11:22
Hi,
I added:
.markerName { color:red; text-decoration: underline; font-size: 16px; display: none; }
to my template_css file and now the markerName is gone. Thanks!
The administrator has disabled public write access.
|
|