rishabhthakur / mapstraction

Automatically exported from code.google.com/p/mapstraction
Other
0 stars 0 forks source link

Google Maps v2 addOverlay issue #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Google v2 provider call addOverlay using a KML URL.
2. JavaScript error produced along the lines of "branch" is undefined.

What is the expected output? What do you see instead?
Should work with no error.

The pertinent line is this...
http://code.google.com/p/mapstraction/source/browse/trunk/source/mxn.google
.core.js#295

Google Maps no longer seems to support this second parameter (an "on 
overlay loaded" handler, i assume) see the following:
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html
#GMap2.addOverlay

Original issue reported on code.google.com by dezfowler@gmail.com on 24 May 2010 at 12:21

GoogleCodeExporter commented 9 years ago
I'm seeing this also.  If I remove the second parameter, the branch error goes 
away but the overlay still does not work.

Original comment by mper...@gmail.com on 15 Jul 2010 at 4:28

GoogleCodeExporter commented 9 years ago
This seems to happen with GeoRSS as well as KML

Original comment by Shis...@gmail.com on 24 Aug 2010 at 1:07