be88ex / earth-api-samples

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

Option for forcing refresh on network link after its visibility changed #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I found this when I was implementing checkboxes for layers visibility.
I'm using network link to import my own layers and when the layer is turn
on again, no data is visible because the network link wont refresh unit I
move the map (I'm using VIEW_REFRESH_ON_STOP option).

I found some workaround, but it's quite ugly. When I catch the onClick
event from checkbox, it is possible to "reset" nested networklink href and
the REFRESH_ON_CHANGE flag do the rest.

Original issue reported on code.google.com by dusan.fe...@vsb.cz on 15 Sep 2008 at 3:55

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 14 Nov 2008 at 2:18

GoogleCodeExporter commented 8 years ago
Not sure if this is exactly a defect or an enhancement. But something like
netlink.refresh() makes sense.

Original comment by api.roman.public@gmail.com on 5 Feb 2009 at 8:18

GoogleCodeExporter commented 8 years ago

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