Small map with CGGoogleMaps
-
- Forum Members
- Posts: 21
- Joined: Tue Apr 14, 2009 3:02 pm
Small map with CGGoogleMaps
Hi,
I want to create a 400 pixels large map with CGGoogleMaps but the mentions and distances (feet + meters) are layered. Can i reduce the size of the texte or delete one of the distance (feet or meter) ?
THX
JC
I want to create a 400 pixels large map with CGGoogleMaps but the mentions and distances (feet + meters) are layered. Can i reduce the size of the texte or delete one of the distance (feet or meter) ?
THX
JC
Re: Small map with CGGoogleMaps
I am not sure I follow. I have a few CGGoogleMaps that are under 350x350 and I am not having any issues.
Can you maybe post a screenshot of your issue or provide a link?
Note: Please don't double post
Can you maybe post a screenshot of your issue or provide a link?
Note: Please don't double post
Last edited by tyman00 on Tue Apr 14, 2009 3:14 pm, edited 1 time in total.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
-
- Forum Members
- Posts: 21
- Joined: Tue Apr 14, 2009 3:02 pm
Re: Small map with CGGoogleMaps
Sorry for the double post. I made a mistake.
On the picture attached, i marked in red my problem : text over text. It is not very clean !
JC
On the picture attached, i marked in red my problem : text over text. It is not very clean !
JC
Re: Small map with CGGoogleMaps
To the best of my knowledge this is not something you can control. This is information that is sent to your map from Google. The reason it is overlapping at the 400 width is because the words for the copyright information are longer in your language than they are in English. It looks just fine for me because the information is displayed in English. Your only solutions that I know of are to leave the map as is, or make it wider.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
-
- Forum Members
- Posts: 21
- Joined: Tue Apr 14, 2009 3:02 pm
Re: Small map with CGGoogleMaps
Ok. THX.
I've got another problem with this module. The text and menus which are apprearing on mouseover are in english (not the copyright).
JC
I've got another problem with this module. The text and menus which are apprearing on mouseover are in english (not the copyright).
JC
Re: Small map with CGGoogleMaps
Did you include the lang parameter in your module call?
From the help:
From the help:
(optional) lang="en_US" - Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
-
- Forum Members
- Posts: 21
- Joined: Tue Apr 14, 2009 3:02 pm
Re: Small map with CGGoogleMaps
I did.
Actually, i've edited the GoogleMapAPI.class.php file to translate the words. Now it's OK.
I'd like to write the distance in feet/km and the terms of use on two lines. Is it possible ?
JC
Actually, i've edited the GoogleMapAPI.class.php file to translate the words. Now it's OK.
I'd like to write the distance in feet/km and the terms of use on two lines. Is it possible ?
JC
Re: Small map with CGGoogleMaps
You will likely need to do some research on the google api itself on google. It may be customizable with CSS.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
-
- Forum Members
- Posts: 21
- Joined: Tue Apr 14, 2009 3:02 pm
Re: Small map with CGGoogleMaps
THX i did it and it is ok for me.
Just one thing again : i'd like to remove the 'hybrid' button on the map and i did not fond the solution.
Can you hel me ?
JC
Just one thing again : i'd like to remove the 'hybrid' button on the map and i did not fond the solution.
Can you hel me ?
JC
Re: Small map with CGGoogleMaps
Would you mind sharing what you did to make the change?
As far as hybrid... I am only aware of how to remove all three selections not one at a time. This will again be a API change.
As far as hybrid... I am only aware of how to remove all three selections not one at a time. This will again be a API change.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
-
- Forum Members
- Posts: 21
- Joined: Tue Apr 14, 2009 3:02 pm
Re: Small map with CGGoogleMaps
My API is too long to be post here ! (exceeds 20000 characters). And it is for a french site.
JC
JC
Re: Small map with CGGoogleMaps
Find the line : if($this->type_controls) {
$_output .= 'map.addControl(new GMapTypeControl());' . "\n";
}
and remplace with : if($this->type_controls) {
$_output .= 'map.addControl(new GMapTypeControl());map.removeMapType(G_HYBRID_MAP);' . "\n";
}
$_output .= 'map.addControl(new GMapTypeControl());' . "\n";
}
and remplace with : if($this->type_controls) {
$_output .= 'map.addControl(new GMapTypeControl());map.removeMapType(G_HYBRID_MAP);' . "\n";
}
-
- Forum Members
- Posts: 21
- Joined: Tue Apr 14, 2009 3:02 pm
Re: Small map with CGGoogleMaps
THX very much and excuse for the long time for my post !
New question : is it possible to add checkboxes or radio buttons to show and hide icons with CGGoogleMaps ?
JC
New question : is it possible to add checkboxes or radio buttons to show and hide icons with CGGoogleMaps ?
JC