Opened 13 years ago

Closed 12 years ago

#485 closed defect (fixed)

[Redline] Select function can't zoom to the correct object

Reported by: liuar Owned by: madair
Priority: P2 Milestone: Future
Component: Widgets Version: 2.0
Severity: Major Keywords:
Cc: Browser: All
External ID: 1431481 Operating System: All
state: New

Description

  1. Open the flexible web layout in browser
  2. Go to redline task pane, new a redline layer, add it to map and edit redline
  3. Digitize a feature for the redline layer, which out of the current map's boundingbox
  4. Select the feature and click the select button.


result:
the feature is selected, but it doesn't zoom onto the feature.

Change History (3)

comment:1 by madair, 12 years ago

Status: newassigned

I am unable to reproduce this error. Using Sheboygan dataset, pick a redline element and then hitting the select button zooms to the bbox of the redline element. Need more info to reproduce.

comment:2 by liuar, 12 years ago

Hi Mike

Maybe you can try to digitize a point near the edge of the web browser. If the digitized point is out of the map's initial view bbox, then it's impossible to zoom to that point.

Arthur

comment:3 by madair, 12 years ago

Resolution: fixed
Status: assignedclosed

fixed at rev [2464]

this is default behaviour for OpenLayers but we can put an override so that the Map object will check the 'displayOutsideMaxExtent' setting from the baseLayer object to allow zooming outside maxExtent

Note: See TracTickets for help on using tickets.