Simple Google Maps

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
amorre

Simple Google Maps

Post by amorre »

Hello,

I can't seem to figure this one out..

I would like to do a simple things to make it a little better and easier for someone to use. 

1) How do i edit the info box that comes up?
  -also: how to edit it but still use the form fields for getting directions to and from

2) When i choose to get directions "to here" it loads up in google but the to address is the coordinates + ()
  so it looks like this 40.576727,-75.340625() .  Google does not recognize the coordinates because it adds () at the end of it. 
How can i fix this?  Where does simple google maps add () to the coordinates.. i cant find it anywhere
amorre

Re: Simple Google Maps

Post by amorre »

bump for help. im lost on this one
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Simple Google Maps

Post by calguy1000 »

Keep nagging me about this... I'm currently swamped and don't even have time to look in to it.

I do know that the 'SimpleGoogleMap' module works in such a way that you provide it an address, and it builds a map around that.... there isn't much flexibility in thie module at this point.
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.
amorre

Re: Simple Google Maps

Post by amorre »

ah ok ok i see what your saying. check where it gets the address from. thank you

i believe its somewhere in here modules/SimpleGoogleMap/lib/GoogleMapAPI-2.4/GoogleMapAPI.class.php

fixed it on line 1121 of that file.  thank you for the lead  ;)
Last edited by amorre on Sat Dec 01, 2007 12:37 am, edited 1 time in total.
Locked

Return to “CMSMS Core”