Multiple GoogleMaps on one page?

General project discussion. NOT for help questions.
Post Reply
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Multiple GoogleMaps on one page?

Post 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!
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.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Multiple GoogleMaps on one page?

Post by tyman00 »

Should I be asking this somewhere else to get better responses. I wasn't entirely sure where to put it.
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.
alby

Re: Multiple GoogleMaps on one page?

Post 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
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Multiple GoogleMaps on one page?

Post 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
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.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Multiple GoogleMaps on one page?

Post by tsw »

its probably a bug in the module, sorry.

I'll try to find time to fix it up
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Multiple GoogleMaps on one page?

Post 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.
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.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Multiple GoogleMaps on one page?

Post 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.
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.
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: Multiple GoogleMaps on one page?

Post by cubix »

have you tried calguys relase of google maps? it may help
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Multiple GoogleMaps on one page?

Post by tyman00 »

No I probably should have paid more attention to the release notes and availability. I'll give it a shot and see.
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.
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: Multiple GoogleMaps on one page?

Post by cubix »

its only an initial release but looks promising.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Multiple GoogleMaps on one page?

Post by calguy1000 »

I've done two google maps on one page with no difficulty..... with the CGGoogleMaps module
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.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Multiple GoogleMaps on one page?

Post 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.
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.
Post Reply

Return to “General Discussion”