Does anyone know how to write stuff into popup window in simple google maps. i looked in another thread and he said you write ii in this bit of code.
if($this->sidebar) {
$_output .= 'function click_sidebar(idx) {' . "\n";
$_output .= ' if(isArray(marker_html[idx])) { markers[idx].openInfoWindowTabsHtml(marker_html[idx]); }' . "\n";
$_output .= ' else { markers[idx].openInfoWindowHtml(marker_html[idx]); }' . "\n";
$_output .= '}' . "\n";
}
$_output .= 'function showInfoWindow(idx,html) {' . "\n";
$_output .= 'map.centerAtLatLng(points[idx]);' . "\n";
$_output .= 'markers[idx].openInfoWindowHtml(html);' . "\n";
$_output .= '}' . "\n";
tried everywhere but no luck. Does any know how to??
Also does anyone know how to use simple google maps with coordinates instead of addressess. The addresses are right but is not accurate. It would be good to make tem accurate.
Any help would be appreciated
Simple google maps
Re: Simple google maps
I think a couple of the GoogleMaps modules support coordinate, If I am not mistaken one of them is Calguy's Google Maps.
As for the code that you pasted, can you give the link to the original post where they told you this?
As for the code that you pasted, can you give the link to the original post where they told you this?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Simple google maps
The SimpleGoogleMap module doesn't support coordinates, but the CGGoogleMaps module does.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Simple google maps
Thanks for the reply.
Here is the original post. He say it at the end.
http://forum.cmsmadesimple.org/index.ph ... l#msg85450
Tried to install the CGGoogle maps but you need to have a minimum of cmsmadesimple 1.2.
have to get the courage to upgrade. i would be afraid that some thing would go wrong and i would have to start agaiin.
thanks
Here is the original post. He say it at the end.
http://forum.cmsmadesimple.org/index.ph ... l#msg85450
Tried to install the CGGoogle maps but you need to have a minimum of cmsmadesimple 1.2.
have to get the courage to upgrade. i would be afraid that some thing would go wrong and i would have to start agaiin.
thanks
Re: Simple google maps
Excuse me ...
what is the main difference between the "Google Maps" and "CGGoogle Maps" modules?
The project's page just says that it is written in "calguy style"
What do you mean with that?
I suggest to use a "slightly more informative" description. Would it be too much to just add a short list of the module's key features? And maybe the difference to the "Google Maps" module?
(The killer feature would be the possibility to add polylines...)
Cheers,
Alex
what is the main difference between the "Google Maps" and "CGGoogle Maps" modules?
The project's page just says that it is written in "calguy style"

What do you mean with that?
I suggest to use a "slightly more informative" description. Would it be too much to just add a short list of the module's key features? And maybe the difference to the "Google Maps" module?
(The killer feature would be the possibility to add polylines...)
Cheers,
Alex