Google Maps (3 modules)
Google Maps (3 modules)
There are 3 modules for this so I am a bit confused. Calguy seems to be involved with all of them so if you could shed some light that would be great.
I currently have CGGoogleMaps installed which works fine but I just want to know which one is concentrated on more. I could also do with a couple more zoom levels so it is zoomed right in. Great mod!
I currently have CGGoogleMaps installed which works fine but I just want to know which one is concentrated on more. I could also do with a couple more zoom levels so it is zoomed right in. Great mod!
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Google Maps (3 modules)
CGGoogleMaps is a rewrite of tsw's GoogleMaps module. it's a bit better organized and supports storing addresses, as well as lattitude and longitude... So if you need multiple points in your maps, and they rarely change use CGGoogleMaps.
The SimpleGoogleMap module is designed to take one address on the tag, like {SimpleGoogleMap map='mymapdefinition' addr='123 Anywhere St, Somewhere CA'} and have it generate a map around that address... I have used SimpleGoogleMap in conjunction with the company directory module to display a map of the companies address for example.
The SimpleGoogleMap module is designed to take one address on the tag, like {SimpleGoogleMap map='mymapdefinition' addr='123 Anywhere St, Somewhere CA'} and have it generate a map around that address... I have used SimpleGoogleMap in conjunction with the company directory module to display a map of the companies address for example.
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: Google Maps (3 modules)
How do you find the latitude and longitude? In the UK we find everything with Post Codes. Also is it possible to have the map zoomed right in? I think there are 16 zoom levels on the actual map?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Google Maps (3 modules)
Well, you don't need to worry about the latitude and longitude if you don't have them.... the CGGoogleMaps module will take any string that you can type into maps.google.com. And you can set the initial zoom level in the map definition.
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: Google Maps (3 modules)
Well your mod seems a bit more polished.
How would I put a postcode into the mod? Also I can only get zoom level 14 in the settings.
How would I put a postcode into the mod? Also I can only get zoom level 14 in the settings.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Google Maps (3 modules)
Adding two more zoom levels is no big deal (it'd be somewhere in the admin php files, but easy enough to find). What string would you type into maps.google.com to get the map you wanted?
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: Google Maps (3 modules)
Permission to PM you about this with my location?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Google Maps (3 modules)
sure
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: Google Maps (3 modules)
Calguy,
I have a question, how do you get Google Maps to work in conjunction with the company directory module??
Thanks
I have a question, how do you get Google Maps to work in conjunction with the company directory module??
Thanks

Re: Google Maps (3 modules)
With thisinstruction you can add zoom wheel functions to your mouse.cb2004 wrote: Also is it possible to have the map zoomed right in? I think there are 16 zoom levels on the actual map?
Just insert line
Code: Select all
$_output .= 'map.enableScrollWheelZoom();' . "\n";
Regards
blast
Re: Google Maps (3 modules)
Hello
A question about the CGGoogleMaps module:
I might be being a bit dim, but I can't work out how to add an address to the map. I know there's an option to do this dynamically within a page by using smarty tags, but I'm assuming there should also be a simple way to do it that is 'static', just using the back-end.
For example if I wanted to enter the postcode "SW1A 0AA" onto the map, how can I do this? I can create a new map, give it dimensions and a zoom level, but I don't see where to add points I can only see boxes where I can type in Latitude and Longitude.
Thanks
A question about the CGGoogleMaps module:
I might be being a bit dim, but I can't work out how to add an address to the map. I know there's an option to do this dynamically within a page by using smarty tags, but I'm assuming there should also be a simple way to do it that is 'static', just using the back-end.
For example if I wanted to enter the postcode "SW1A 0AA" onto the map, how can I do this? I can create a new map, give it dimensions and a zoom level, but I don't see where to add points I can only see boxes where I can type in Latitude and Longitude.
Thanks
Re: Google Maps (3 modules)
it took me a long time to find this too
After you create the map, you'll have an "i" icon in the admin, to the right of the map name (to the left of the Default checkmark and the Edit Map icon). For the longest time, I thought this was just a Help icon, and since I'd already read the module Help, I ignored it. Then by some stroke of luck I clicked on it, and voila!!
After you create the map, you'll have an "i" icon in the admin, to the right of the map name (to the left of the Default checkmark and the Edit Map icon). For the longest time, I thought this was just a Help icon, and since I'd already read the module Help, I ignored it. Then by some stroke of luck I clicked on it, and voila!!