Relative Content

Tag Archive for zoomingopenlayersopenlayers-9

OpenLayers 9 zooms in too far on feature extent

I am trying to zoom to the extent of a feature, but I cannot make it actually fit the feature completely within the map view. It always zooms in too far; what kind of math do I need to do to get it to actually fit? I’m in OpenLayers 9.

OpenLayers 9 zooms in too far on feature extent

I am trying to zoom to the extent of a feature, but I cannot make it actually fit the feature completely within the map view. It always zooms in too far; what kind of math do I need to do to get it to actually fit? I’m in OpenLayers 9.

OpenLayers 9 zooms in too far on feature extent

I am trying to zoom to the extent of a feature, but I cannot make it actually fit the feature completely within the map view. It always zooms in too far; what kind of math do I need to do to get it to actually fit? I’m in OpenLayers 9.