mohitsgw / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
0 stars 0 forks source link

network links: placemarks reappearing after its parent kml has being removed #233

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.load kml into a network link and click on any placemarks belonging to
this kml
2.remove the kml (removeChild)
3.load another kml into the nertwork link
4.after some time (ie, after clicking on placemarks on the second kml)
placemarks that have being clicked in the first kml will reappear

What is the expected output or behavior? What do you see instead?
removed placemarks should be gone forever... :-)

Which plugin version are you using?
5.0.11655.6079 (I didn't notice this in earlier versions)

Which browsers and operating systems are affected?
tested in FF3 and Chrome

Please provide any additional information (code snippets/links) below.

Try this: http://www.parlamentodasaguasrs.com.br/kmlTest.php
Click on placemarks and change kml (using "kml1" and "kml2" buttons).
Placemarks of removed kml will reappear.

Original issue reported on code.google.com by christia...@gmail.com on 22 Apr 2009 at 9:35

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 23 Apr 2009 at 1:55

GoogleCodeExporter commented 8 years ago
Similar issue here - this time with network links that update on map change. 
Click 
on one of its polygons, then move the map. The network link then updates, to 
create 
a new set of polygons, but the one clicked on the original set remains.

Original comment by graham.waddingham@gmail.com on 1 May 2009 at 10:29

GoogleCodeExporter commented 8 years ago
A workaround is to setVisibility(false) before removal.

Original comment by api.roman.public@gmail.com on 1 May 2009 at 6:05

GoogleCodeExporter commented 8 years ago
I'm experiencing this problem with a networkLink and "VIEW_REFRESH_ON_STOP". 
Every
time you click on a Placemark (and open its balloon) it is duplicated over and 
over
again. It's not possible to remove these duplications removing all the 
childNodes or
even setting visibility to false. Also these duplications not give response to 
any
event listener.

I'm working on Windows (GE Plugin 5.0.11655.6079, Firefox 3.0.10 and IE 
7.0.5730.11).

Original comment by apoderos...@gmail.com on 3 May 2009 at 6:33

GoogleCodeExporter commented 8 years ago
Hi apoderoso,

That may be Issue 59 coming back again. Can you check that issue and comment 
there?
If it's happening again I'll reopen it.

Thanks,
Roman

Original comment by api.roman.public@gmail.com on 4 May 2009 at 9:42

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 22 May 2009 at 1:44

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 9 Aug 2009 at 12:52

GoogleCodeExporter commented 8 years ago
Bulk edit.

Original comment by api.roman.public@gmail.com on 9 Aug 2009 at 1:02

GoogleCodeExporter commented 8 years ago
I believe this is fixed in 5.0.11738.1858; if this is still coming up, please 
ping
the issue.

Original comment by api.roman.public@gmail.com on 9 Aug 2009 at 1:16

GoogleCodeExporter commented 8 years ago
I am having issues removing network links after clicking on a feature and 
viewing its
placemark.

Go to:
http://ngdc.noaa.gov/metadata/published/19115/NOSA/kmlList.html

Click on Baseline Surface Radiation Network (BSRN) and then click on a feature.
Now click on Global-USGODAE-BUOYS (GODAE), and
then Clear Extents.  

After a delay one of the BSRN features redisplays after the clear and new Clear
Extents attempts do not work.

Original comment by geoneu...@gmail.com on 11 Aug 2009 at 9:52

GoogleCodeExporter commented 8 years ago
Thanks for the repro steps, confirmed still a bug.

Original comment by api.roman.public@gmail.com on 11 Aug 2009 at 10:44

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 12 Aug 2009 at 5:45

GoogleCodeExporter commented 8 years ago
Any ideas when it will be released?
Thanks!

Original comment by luizrodr...@gmail.com on 19 Aug 2009 at 6:36

GoogleCodeExporter commented 8 years ago
We generally don't announce release dates, sorry Luiz :-(

Original comment by api.roman.public@gmail.com on 19 Aug 2009 at 7:20

GoogleCodeExporter commented 8 years ago
No problem... My question is not about an specific date, but if it will be in 
the
next one :)
Thanks again!

Original comment by luizrodr...@gmail.com on 19 Aug 2009 at 7:24

GoogleCodeExporter commented 8 years ago
Ah, yes-- should be fixed in the next release.

Original comment by api.roman.public@gmail.com on 19 Aug 2009 at 7:27

GoogleCodeExporter commented 8 years ago
Fixed as of 5.1.3506.3999 (API v1.003); see announcement here:

http://groups.google.com/group/google-earth-api-notify/browse_thread/thread/6a32
fdfcc60236e

If this issue is still not fixed, please let us know.

Original comment by api.roman.public@gmail.com on 9 Sep 2009 at 10:17

GoogleCodeExporter commented 8 years ago
This is happening for me right now with 5.1.7938.4346

I'm using windows 7. I have a network link that loads a dynamic kml generated 
from SQL 
Server data. This network link is loaded every 30 seconds. If I click on a 
placemark 
and load the bubble, after the next load that placemark is duplicated. The 
duplication 
only ocurrs after clicking on the placemark.

Original comment by gary...@gmail.com on 2 Feb 2010 at 9:14

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Similar case here.

Google Earth API --> 5.1.7938.4346
IE --> 7.0.5730.13
Firefox --> 3.5.7

Basically, after a button is pressed, I dynamically create a chunk of kml code 
which 
displays a placemark on my map. 
The next time the button is pressed, I will remove the old placemark and 
dynamically 
create another placemark.

If it happened that I click at the 1st placemark before it got removed, the 
placemark will reappear 3-4 seconds after the 2nd placemark is displayed.

Any suggestion?

Original comment by googling...@gmail.com on 11 Feb 2010 at 8:02

GoogleCodeExporter commented 8 years ago
Experiencing the exact same problem.

Google Earth v5.1.7938.4346
Plugin v5.1.7938.4346
API v1.003

After a placemark is loaded to the plugin over the NetworkLink and it is 
clicked 
(showing info in balloon) and removed with the help of 
ge.getFeatures().removeChild(...) OR 
ge.getGlobe().getFeatures().removeChild(...) it 
reappears in a while.

Setting visibility to false doesn't help. Any ideas?

Browsers: Firefox 3.6, Chrome 5.0.342.3 dev

Original comment by leonid.k...@gmail.com on 15 Mar 2010 at 3:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I am experiencing a similar bug on geplugin version 6.2.1.6014 on Chrome 
17.0.963.79 m and IE 9. 

It occurs when I load a KML file using a NetworkLink that refreshes the file 
every few seconds. When i remove the kml from ge using 
ge.getFeatures().removeChild(objectRef) the KML layer stays visible for some 
time (several seconds to a minute) and then eventually is removed. 

Original comment by michael....@gmail.com on 19 Mar 2012 at 7:57

GoogleCodeExporter commented 8 years ago
Also experiencing this bug. When a networkLink placemark is clicked, and then 
the kml reloaded, the placemark that has been clicked remains as a duplicate.

Original comment by dougpuka...@gmail.com on 18 Jul 2012 at 12:41

GoogleCodeExporter commented 8 years ago
Is anybody here?
I am experiencing similar issue...
Does workaround exist?

Original comment by Maxim.So...@gmail.com on 7 Nov 2012 at 2:01