Opened 16 years ago

Closed 16 years ago

#63 closed enhancement (fixed)

allow fixed set of scales for the MapWidget

Reported by: madair Owned by: madair
Priority: P1 Milestone: 1.0.6
Component: Widgets Version: 1.0.4
Severity: Minor Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

it would be useful to allow the MapWidget to use a fixed set of scales and disable the FractionalZoom

Change History (7)

comment:1 by madair, 16 years ago

(In [1404]) re #63: implement fixed set of scales for MapWidget

comment:2 by madair, 16 years ago

Resolution: fixed
Status: newclosed

insert a comma separated <Scales> element in the MapWidget to use this feature as in:

<Scales>100000,50000,25000,12500,8000,4000</Scales>

This option is mutually exclusive of the FractionalZoom option.

comment:3 by madair, 16 years ago

(In [1407]) re #63: fix error in name of fractionalZoom boolean variable

comment:4 by madair, 16 years ago

Resolution: fixed
Status: closedreopened

if the OpenLayers minScale value is set on a layer, OL will ignore any scales arry passed in. We need to decide if a scales array set in the ApplicationDefinition should take precedence over a minScale value returned by LoadMap

comment:5 by madair, 16 years ago

(In [1410]) re #63: if a fixed set of scales is used, then fractionalZoom is false and map.zoom method will increment/decrement the fixed zoom level.

comment:6 by madair, 16 years ago

(In [1412]) re #63: further refactoring of map.zoom() method

comment:7 by madair, 16 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.