public void applyInterpolatedRadii(){
  Assert.isTrue(mapObjects != null);
  Assert.isTrue(mapObjects.size() > 0);
  InternalMapObject min=null, max=null;
  for (  InternalMapObject mapObject : mapObjects) {
    if (min == null || mapObject.getValue() < min.getValue()) {
      min=mapObject;
    }
    if (max == null || mapObject.getValue() > max.getValue()) {
      max=mapObject;
    }
  }
  for (  InternalMapObject mapObject : mapObjects) {
    double factor=(mapObject.getValue() - min.getValue()) / (max.getValue() - min.getValue());
    int radius=MapUtils.lerp(radiusLow,radiusHigh,factor);
    mapObject.setRadius(radius);
  }
}

public void applyInterpolatedRadii ( ) { Assert . isTrue ( mapObjects != null ) ; Assert . isTrue ( mapObjects . size ( ) > 0 ) ; InternalMapObject min = null , max = null ; for ( InternalMapObject mapObject : mapObjects ) { if ( min == null || mapObject . getValue ( ) < min . getValue ( ) ) { min = mapObject ; } if ( max == null || mapObject . getValue ( ) > max . getValue ( ) ) { max = mapObject ; } } for ( InternalMapObject mapObject : mapObjects ) { double factor = ( mapObject . getValue ( ) - min . getValue ( ) ) / ( max . getValue ( ) - min . getValue ( ) ) ; int radius = MapUtils . lerp ( radiusLow , radiusHigh , factor ) ; mapObject . setRadius ( radius ) ; } }
interpolates the radii of this map layer ' s set of map objects according the highest and lowest values among them .
