Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

Google Maps

Is there some reason why I cannot have 2 (or 3) Google Maps on the same web page?

I am using the JavaScript methods to populate the maps.

Works fine with one, NOT with two.

I can show the code, but it's pretty messy; it's generated by php on the server.
ASKER CERTIFIED SOLUTION
Avatar of Molnár István
Molnár István
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Richard Korts

ASKER

To quicksilver17:

Thanks. I discovered that is NOT the problem. It is creating the 2nd map, it is only loading it with the LAST point out of about 30 addresses.

Go to http://www.rkassoc.net/LSSGeocoding/LSS_schedule2.php. Click the name "Abelman Bob" in the pulldown list. Note how the 2nd map (to the lower right) only contains ONE point. There should be about 30, plus the green one. You can view source. Sorry it's so messy, I didn't know how to do it except to duplicate most of the JavaScript functions for the 2nd map.

Thanks,

rkorts
To quicksilver17:

I solved the problem; it was a php logic error.

You get the points.

Thanks