When I first load the KMZ file, all placemarks loaded normally. The link is set
to refresh on interval. Eventually, a refresh cause some placemarks to appear
duplicated.
The following is the initCB function that loads and sets the refresh mode and
interval.
function initCB(pluginInstance) {
ge = pluginInstance;
ge.getWindow().setVisibility(true);
ge.getLayerRoot().enableLayerById(ge.LAYER_BORDERS, true);
ge.getOptions().setAtmosphereVisibility(false);
var KMZID = 'test1';
addKmlFromUrl(Path+'/test1.kmz',KMZID);
ge.getElementById(KMZID).getLink().setRefreshMode(ge.REFRESH_ON_INTERVAL);
ge.getElementById(KMZID).getLink().setRefreshInterval(45);
}
The placemark's IDs are always the same, so is the Document's.
Plugin version: 7.0.2.8415
Browsers: Chrome and IE8
OS: WinXP and Win7
Original issue reported on code.google.com by fabioab...@gmail.com on 9 Jan 2013 at 4:00
Original issue reported on code.google.com by
fabioab...@gmail.com
on 9 Jan 2013 at 4:00