Skip to content

Loading…

Don't applyBackBuffer when moving to extent outside of current bounds #586

Open
wants to merge 4 commits into from

1 participant

@lydonchandra

#582

With fix ( Layer/Grid-new.js )
http://demo.mapsolutions.com.au/IntraMaps80/Frontend/tests/integration/melton/default-dev-new.htm

Without fix ( Layer/Grid.js )
http://demo.mapsolutions.com.au/IntraMaps80/Frontend/tests/integration/melton/default-dev.htm

To compare them,
TYPE these address into “Enter your address” search box,
Select first match under dropdown
and press ENTER after each:

11 Abbington CR
3 Abelia CRT
60-78 Abey RD

Focus on the transition between images.

Default behaviour is to apply a backbuffer, which seems like blanking the map.

Proposed behaviour (default-dev-new.htm) is to apply backbuffer only when:
1. new bounds intersect with old bounds.
2. New bounds contains old bounds or vice versa (zoom-in/out)

The ideal behaviour is
to update map when image arrives on programmatic zoomToExtent,
http://gis.stackexchange.com/questions/28724/can-we-request-new-openlayer-wms-image-for-an-extent-without-moving-the-map

However, the proposed behaviour mentioned above is closest we can get (without much refactoring).
http://demo.mapsolutions.com.au/mapcontrol/melton/ is our map without openlayers.

Browser I’m using:
Chrome 20.0.1132.47 m /Win7

Let us know if you need more info.

bla bla bla and others added some commits
bla bla bla don't apply backbuffer when zooming to extent outside current bounds. d2af6e2
Don don't apply backbuffer when zooming to extent outside current bounds.
don't apply backbuffer when zooming to extent outside current bounds.
039ef19
@lydonchandra lydonchandra Update master c79332b
@lydonchandra lydonchandra don't applyBackBuffer when moving to extent outside of current bounds,
otherwise map will be blank until new image is retrieved.

only applyBackBuffer when zooming-in, zooming-out, or panning where new-bounds intersect old-bounds
11bfb0e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 10, 2012
  1. don't apply backbuffer when zooming to extent outside current bounds.

    Don committed
    don't apply backbuffer when zooming to extent outside current bounds.
  2. @lydonchandra

    Update master

    lydonchandra committed
  3. @lydonchandra

    don't applyBackBuffer when moving to extent outside of current bounds,

    lydonchandra committed
    otherwise map will be blank until new image is retrieved.
    
    only applyBackBuffer when zooming-in, zooming-out, or panning where new-bounds intersect old-bounds
Something went wrong with that request. Please try again.