forhad559 / geoxml3

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

google.maps.Polyline cannot be removed from map after KML parse #112

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call "parse" function by passing KML file, which contains Polyline
2. Call "hideDocument" on parsed KML file

What is the expected output? 
Polyline should be removed from map.

What do you see instead?
Polyline is not removed from map.

What version of the product are you using? On what operating system?
Using "branches/ kmz/ geoxml3.js" (r124)

Please provide any additional information below.
"createPolyline" function creates 2 google.maps.Polyline instances on lines 
1213 and 1215, having only 1 variable referencing to the one created latest. 
This results in 2 google.maps.Polyline instances displayed on map, only 1 of 
them having the possibility to be controled.

Original issue reported on code.google.com by paulin...@gmail.com on 30 Jun 2015 at 1:27

GoogleCodeExporter commented 8 years ago
Fixed kmz branch revision 127

Test page:
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmztest_linktoB.html?filename=
tennis-lines.xml

Original comment by geocodezip on 30 Jun 2015 at 9:26

GoogleCodeExporter commented 8 years ago
Issue 113 has been merged into this issue.

Original comment by geocodezip on 1 Jul 2015 at 6:55

GoogleCodeExporter commented 8 years ago
that was quick, thx :)

Original comment by paulin...@gmail.com on 1 Jul 2015 at 7:24