This is currently not possible with vanilla pan interactions. You'd
have to create a custom interaction or use a 'moveend' listener on the
map.

Andreas.

On Thu, Oct 27, 2016 at 8:06 AM, Ankit shah via OL3 Dev
<ol3-dev+apn2wqcehvlretxxjxt8w1fxmsamu3bzfnjiyyo0vmy_jdodnsguu...@googlegroups.com>
wrote:
> Hi,
>
> I am right now using Ol3 to display static image(like
> http://openlayers.org/en/latest/examples/static-image.html) . Although when
> I am zoomed in and start panning/dragging i can see white space as seen in
> example. I don't want to see that.
>
> Is it possible to pan only till the end of image so that white space does
> not appear?
>
> --
> 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/c95e8079-3cb0-4de4-9c22-fd485c1c370b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAOiJ94h6idi%2B3sj6fD_eF2oZCKFF3VoVOttj008Ee9WYWdW5AQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to