zahidsw / geoxml3

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

Enhancement: add "parsed" event when processing complete #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please star this issue if you would find a "parsed" event as described in the 
EGeoXml documentation useful.  It doesn't exist at present, trying to gauge 
interest/usefulness.

http://econym.org.uk/gmap/egeoxml.htm

"parsed" Event

EGeoXml throws a "parsed" event when the parsing is complete.
The EgeoXml.parse() operation is asynchronous because it uses GDownloadUrl(), 
so if you have code that should only operate after the markers etc. have all 
been created, then you'll need to listen for that event.

Original issue reported on code.google.com by geocodezip on 13 Oct 2011 at 2:25

GoogleCodeExporter commented 9 years ago

Original comment by geocodezip on 13 Oct 2011 at 8:43

GoogleCodeExporter commented 9 years ago
I believe I have an implementation that will work to add this feature.  
Attached are a demo HTML file, a demo KML file, a modified geoxml3.js, and a 
diff file showing what was changed.  The only thing that had to be added was an 
invocation of the Google MVC Object constructor in the parse function and a 
trigger of the parsed event when all documents are finished.

Original comment by fami...@gmail.com on 12 Jan 2012 at 7:48

Attachments:

GoogleCodeExporter commented 9 years ago
implemented polys branch revision 111, kmz branch revision 112

Original comment by geocodezip on 21 Dec 2013 at 9:44

GoogleCodeExporter commented 9 years ago
Nice, thank you for accepting my patch!  Your code has been really helpful in 
making Google maps really easy.

Original comment by fami...@gmail.com on 24 Dec 2013 at 6:15