mdeutch3 / geoxml3

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

Patch for showDocument and hideDocument #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Parse a document with some markers but no ground overlays
2.
  // remove all map overlays
  $.each(myKmlParser.docs, function(index, doc) {
    myKmlParser.hideDocument(doc);
  });

What is the expected output? What do you see instead?
I get an error because doc.overlays is not defined

See attached patch to fix the issue.
thx Johannes

Original issue reported on code.google.com by johanne...@gmail.com on 3 Apr 2010 at 9:19

GoogleCodeExporter commented 9 years ago
and another thing: hideDocument should close the infoWindow for each marker 
that it hides. (also included into 
the patch)

Original comment by johanne...@gmail.com on 3 Apr 2010 at 9:26

GoogleCodeExporter commented 9 years ago

Original comment by johanne...@gmail.com on 3 Apr 2010 at 9:30

Attachments:

GoogleCodeExporter commented 9 years ago
should be fixed in the network_link branch.

Original comment by geocodezip on 22 Sep 2010 at 5:18