Avatar of Richard Korts
Richard Korts
Flag 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.
GIS/GPS Programming

Avatar of undefined
Last Comment
Richard Korts

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Molnár István

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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
Richard Korts

ASKER
To quicksilver17:

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

You get the points.

Thanks
Your help has saved me hundreds of hours of internet surfing.
fblack61