Page 1 of 1

Multiple GoogleMaps on one page?

Posted: Tue Jun 19, 2007 11:52 pm
by tyman00
Hello All!

I am looking to setup a page that will use the Google Maps module. I would like to have multiple maps on the same page within CMSMS. I vaguely recall from reading about Google Maps in the past that in order to display multiple maps on one page one would need to use different classes for each map.

Is there a way the GoogleMaps module can be modified to display multiple maps on one page? I tried using two, thinking this may have been covered and implemented but only one map is displayed. The other one is blank. Here is how I called for the maps (did I do it wrong?):

Code: Select all

{cms_module module='GoogleMaps' map='Bismarck ATMs'}
<hr />
{cms_module module='GoogleMaps' map='Dickinson ATMs'}
Thanks for your help!

Re: Multiple GoogleMaps on one page?

Posted: Thu Jul 05, 2007 10:08 pm
by tyman00
Should I be asking this somewhere else to get better responses. I wasn't entirely sure where to put it.

Re: Multiple GoogleMaps on one page?

Posted: Fri Jul 06, 2007 6:57 am
by alby
tyman00 wrote: Should I be asking this somewhere else to get better responses. I wasn't entirely sure where to put it.
UNTESTED
maybe work if you load a other map (change map parameter in {cms_module module='GoogleMaps' map='Bismarck ATMs'})

Alby

Re: Multiple GoogleMaps on one page?

Posted: Fri Jul 06, 2007 2:48 pm
by tyman00
I am not entirely sure I understand you.


Below are the different ways I tried to call multiple maps and my results.

Code: Select all

{cms_module module='GoogleMaps' map='Bismarck ATMs'}
<hr />
{cms_module module='GoogleMaps' map='Bismarck ATMs'}
Display's the top Map, but on the bottom map


Code: Select all

{cms_module module='GoogleMaps' map='Bismarck ATMs'}
<hr />
{cms_module module='GoogleMaps' map='Dickinson ATMs'}
Display's the top Map, but on the bottom map

Re: Multiple GoogleMaps on one page?

Posted: Sat Jul 21, 2007 9:44 am
by tsw
its probably a bug in the module, sorry.

I'll try to find time to fix it up

Re: Multiple GoogleMaps on one page?

Posted: Sun Jul 22, 2007 3:03 am
by tyman00
tsw wrote: its probably a bug in the module, sorry.

I'll try to find time to fix it up
Thanks! I will try to be patient, but I might end up having to forgo using the GoogleMaps module and just develop it as if it were a page that isn't in CMSMS.

Re: Multiple GoogleMaps on one page?

Posted: Fri Dec 14, 2007 9:23 pm
by tyman00
tsw: Was this ever looked into. I know you are busy so it is not a big deal. If it has been taken care of I will upgrade. Currently I have a bunch of iFrames setup to do it  ::). It's a dirty way to do it, but it works.

Re: Multiple GoogleMaps on one page?

Posted: Fri Dec 14, 2007 9:27 pm
by cubix
have you tried calguys relase of google maps? it may help

Re: Multiple GoogleMaps on one page?

Posted: Fri Dec 14, 2007 9:31 pm
by tyman00
No I probably should have paid more attention to the release notes and availability. I'll give it a shot and see.

Re: Multiple GoogleMaps on one page?

Posted: Sat Dec 15, 2007 12:40 am
by cubix
its only an initial release but looks promising.

Re: Multiple GoogleMaps on one page?

Posted: Sat Dec 15, 2007 2:52 am
by calguy1000
I've done two google maps on one page with no difficulty..... with the CGGoogleMaps module

Re: Multiple GoogleMaps on one page?

Posted: Sat Dec 15, 2007 3:59 am
by tyman00
cubix wrote: its only an initial release but looks promising.
I am beginning to expect no lesss from calguy.


Looks like I will be upgrading on Monday.