Zen Cart Logo
Forums / All Other Contributions/Addons / Google Mapinator

Google Mapinator

Views: 28,723

Results 61 to 80 of 108
16 Sep 2007, 11:54 AM
#62
gabbytwin avatar

gabbytwin

Zen Follower

Join Date:
Jun 2005
Posts:
94
Plugin Contributions:
0

Re: Google Mapinator

Hi, I found it was easier to use this link
http://www.wikimapia.org
and just copy and paste the code into the contact us page. I can mark places and change it easily any time I like.

I hope it helps others too.

14 Nov 2007, 8:42 PM
#63
magneteye avatar

magneteye

Zen Follower

Join Date:
Mar 2007
Location:
Portland, OR
Posts:
163
Plugin Contributions:
0

Re: Google Mapinator

Question:

I got this working fine, but it lacks the info I really want that Google Maps usually places about the business.

See this link and how the balloon has a pic of the business, link to reviews and more:
http://maps.google.com/maps?f=l&hl=en&geocode=&time=&date=&ttype=&q=the+meadow&near=3731+n+mississippi+ave+portland+or+97227&sll=45.549774,-122.675549&sspn=0.010323,0.018282&ie=UTF8&ll=45.550001,-122.675915&spn=0.082586,0.146255&z=13&iwloc=A&om=1

Now, on our contact page it just has the basic balloon with the address and phone. How do i get what's in the above link into my map on the contact page?

our current contact page: http://atthemeadow.com/shop/index.php?main_page=contact_us

14 Nov 2007, 10:18 PM
#64
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Google Mapinator

Pablosan:

I got all these errors with the form [code] Sorry, is your name correct? Our system requires a minimum of 2 characters. Please try again.

Sorry, my system does not understand your email address. Please try again.

Did you forget your message? We would like to hear from you. You can type your comments in the text area below.

I am also getting these errors. I wasn't at first, and it would take me to Google Maps although it didn't not give me driving directions (then I noticed in the code it had a spot to enter the store's address)...now when I hit "get directions" it is giving me errors like I tried to send a message via the contact us form.

I'll play around a bit and see if I can't figure it out...but I'm not sure if I messed up the code or if it's because of all the customizing I did on the Contact Us page...

14 Nov 2007, 10:31 PM
#65
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Google Mapinator

ok so I had to make sure the code that calls for the html_define was below the </form> at the bottom of the page. Now the driving directions button seems to work...but is it supposed to actually give you driving directions? I'm having to input the ending address (store's address) again at the Google Maps website...

22 Nov 2007, 5:37 PM
#66
dml311071 avatar

dml311071

New Zenner

Join Date:
Sep 2006
Location:
Grimsby UK
Posts:
98
Plugin Contributions:
0

Re: Google Mapinator

Hi

I cannot get this mod to work:
I have the API key, I have long and lat. I have entered the html code into the conatct us page using the define pages editor and still no map just the outer border.
I get no error message and it doesn't work in any browsers!

Help

http://www.impact-leisure.com

Dave

22 Nov 2007, 6:04 PM
#67
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Google Mapinator

dml311071:

Hi

I cannot get this mod to work:
I have the API key, I have long and lat. I have entered the html code into the conatct us page using the define pages editor and still no map just the outer border.
I get no error message and it doesn't work in any browsers!

Help

http://www.impact-leisure.com

Dave

Hi Dave,

Not sure if this will fix things, but your body tag output is incorrect.

It currently reads (at the end):

onunload=GUnload()">

I beleive that this should read:

onunload="GUnload()">

Try changing that and see what happens.

Good luck! :)

23 Nov 2007, 10:51 AM
#68
dml311071 avatar

dml311071

New Zenner

Join Date:
Sep 2006
Location:
Grimsby UK
Posts:
98
Plugin Contributions:
0

Re: Google Mapinator

Thanks for the pointer on the syntax error, I am still new to php so some of the syntax, especially with the " and ' order, can be a challenge. I often have to rely on the Notepad++ colour scheme to help with these finer details!
Unfortunately, the change did not work, I will have to try another approach.

3 Jan 2008, 1:17 AM
#69
mcqueeneycoins avatar

mcqueeneycoins

Zen Follower

Join Date:
Jan 2008
Posts:
156
Plugin Contributions:
0

Re: Google Mapinator

I've found a way to customize the map, although it remains on the contact us page. You will need to edit the jscript_googlemapinator.php file in includes/modules/pages/contact_us.

Take a look at the Google documentation for all available features, but below are a few mods I made to my map at http://www.mcqueeneycoins.com/catalog/index.php?main_page=contact_us

To add the zoom scroll bar, I changed "map.addControl(new GSmallMapControl());" to "map.addControl(new GLargeMapControl());"

To disable the popup window that automatically appears (and to make it only appear when you click on the marker), remove "marker.openInfoWindowTabsHtml(infoTabs);"

To change the tab headings, modify what the red text to what you want it to be:

new GInfoWindowTab("Address", "<?=nl2brStrict(STORE_NAME_ADDRESS);?>"),
new GInfoWindowTab("Telephone", "<?=nl2brStrict(STORE_TELEPHONE);?>")

Likewise, you can remove the Telephone tab by deleting the second "new GInfo..." line

To list an address different than what you have as the default in Zen, remove the <?=nl2brStrict(STORE_NAME_ADDRESS);?> string. Replace with the text you want to add. You can use HTML tags here (<p>, <br>, <b>, etc.)

I hope this helps everyone who was having those problems earlier!

3 Jan 2008, 3:23 PM
#70
mcqueeneycoins avatar

mcqueeneycoins

Zen Follower

Join Date:
Jan 2008
Posts:
156
Plugin Contributions:
0

Re: Google Mapinator

To build on what I posted yesterday, you can add the map to any other page as well. Simply copy the two .js files that come with the Mapinator package and add the <div id="map"......> line on the page(s) you want the map to appear. I put the map on the About Us and Contact Us pages without any problems.

9 May 2008, 1:50 PM
#71
sn_tobin avatar

sn_tobin

New Zenner

Join Date:
Apr 2008
Location:
Newfoundland, Canada
Posts:
20
Plugin Contributions:
0

Re: Google Mapinator

all im getting is a blank box on my page

28 Jul 2008, 12:20 PM
#72
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Google Mapinator

I am looking into this mod but for the life of me cannot get it working.
What I am actually trying to do is show a different map, depending on long/ lat, on the product page.

What I need:
Map displayed on product info page
Long/ lat editable via product info page in admin

IF I manage to get anything I'll post but that's a big IF!

7 Nov 2008, 11:05 PM
#73
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Google Mapinator

I'm assuming this mod is now dead?
I'm still looking for a "google map in product" solution if anyone has found anything, thanks.

8 Apr 2009, 5:22 AM
#74
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Re: Google Mapinator

well it's been months sense anyone has posted in this section but I installed the mod and i'm having trouble getting the map to display. Can you please help me understand what I'm doing wrong. <div is blank, it's not loading something correctly.

http://www.computerbros.com/index.php?main_page=contact_us

21 May 2009, 10:54 AM
#75
kyli51 avatar

kyli51

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Google Mapinator

hello bigbadboy,

did you find a solution for you google map in product ? i would like to do exactly the same..

Kyli

24 Jan 2010, 4:14 PM
#76
deepanvee avatar

deepanvee

New Zenner

Join Date:
Jan 2010
Posts:
17
Plugin Contributions:
0

Re: Google Mapinator

Hi,
Google mapinator does work for me like a charm thank you so much for the mod. However i am facing a small problem. In the map when we click the red pointer it shows up white screen without the necessary information about my shop(the same is getting reflected in maps.google.com though). What could be the problem?

To understand what i am talking about please click the below link

http://wowstoreonline.com//index.php?main_page=contact_us

Thanks
Deepan :clap:

26 Feb 2010, 7:46 PM
#77
bhensarl avatar

bhensarl

New Zenner

Join Date:
Feb 2010
Posts:
67
Plugin Contributions:
0

Re: Google Mapinator

snorkpants,
I run a web site for a t-shirt business. We're trying to set up Google Maps so that we can drop markers on the map that, when clicked on, pop up a picture of a customer wearing our shirts. I've successfully set up a test page with Google Maps on it, but I haven't yet tried to integrate it into my Zen Cart site. Does your mod help with this? Thanks!
Brian

5 Oct 2010, 1:20 PM
#78
nickp avatar

nickp

New Zenner

Join Date:
Mar 2009
Posts:
34
Plugin Contributions:
0

Re: Google Mapinator

Hi people,

Can someone direct me to unistall the module from the database?

sincerely,
Nick

5 Oct 2010, 3:00 PM
#79
nickp avatar

nickp

New Zenner

Join Date:
Mar 2009
Posts:
34
Plugin Contributions:
0

Re: Google Mapinator

Solved:clap:

Deleted the last new entrees in the dabase 'configuration' directly.

Made a backup first!!!

16 Oct 2010, 6:47 PM
#80
kevin_a avatar

kevin_a

Zen Follower

Join Date:
Mar 2007
Location:
Worcester UK
Posts:
135
Plugin Contributions:
0

Re: Google Mapinator

I wanted to add a google maps on my contact page.
I have done this several times on other static sites without a problem.
However, finding something to actually work in Zen Cart has been the usual 10 hours waste of life nightmare.
Mapinator has, as part of its instructions.."Run the configuration.sql"

I have no idea WTF this means in the context.... "run"...
is dismally unhelpful.
It is inevitable that thousands of average installers of Zen Cart will want to have a google map.
Why is it so esoteric???!!
If any one can point me to a user friendly way of putting a google map on my contacts page PLEASE let me know.