maxEnlargePercent, depending on its size. If the bounding box is small, it will be enlarged more in relation to its beginning size. The larger the bounding box, the smaller the change, down to the minimum of 1% enlargement. Warning: if the bounding box only contains a single node, no expansion takes place because a node has no width/height. Use enlargeToMinDegrees instead. Example: You specify enlargement to be up to 100%. Bounding box is a small house: enlargement will be 95–100%, i.e. making enough space so that the house fits twice on the screen in each direction. Bounding box is a large landuse, like a forest: Enlargement will be 1–10%, i.e. just add a little border around the landuse. If the bounding box has not been set (min or max equal null) this method does not do anything.
@param maxEnlargePercent
| |