Ejemplo n.º 1
0
 @Override
 public void cleanFeatureInfoCache() {
   for (IGPFeatureInfoElement featureInfoElement :
       GeoPlatformUtils.safeCollection(FeatureInfoFlyWeight.getInstance().getCollection())) {
     map.removeControl(featureInfoElement.getElementControl());
     featureInfoElement.getElementControl().deactivate();
   }
   FeatureInfoFlyWeight.getInstance().cleanCache();
 }
Ejemplo n.º 2
0
 @Override
 public void deactivateFeatureInfoControl() {
   for (IGPFeatureInfoElement featureInfoElement :
       GeoPlatformUtils.safeCollection(FeatureInfoFlyWeight.getInstance().getCollection())) {
     map.removeControl(featureInfoElement.getElementControl());
     featureInfoElement.getElementControl().deactivate();
   }
   this.activated = Boolean.FALSE;
 }