Firstly, hey everyone, I am finally getting around to migrating an ol2 app 
to ol3!

I have some code which is similar 
to http://openlayers.org/en/latest/examples/permalink.html,
except rather than a center point and zoom level, I have been using the 
calculateExtent so that all the features visible will be
still visible on a screen with a different aspect ratio (i.e. mobile vs 
desktop)

using fit(extent from calculateExtent) doesn't reliably show the same 
viewport, each time I refresh the map, fit ends up often 
zooming out another zoom level, but the behavior is inconsistent.

Is this expected behavior?

-- 
You received this message because you are subscribed to the Google Groups "OL3 
Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ol3-dev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ol3-dev/29a31915-c767-4ead-a766-2d0222dd2275%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to