Ticket #63 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

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: External ID:
state: New Browser: All
Operating System: All

Description

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

Change History

Changed 5 years ago by madair

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

Changed 5 years ago by madair

  • status changed from new to closed
  • resolution set to fixed

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.

Changed 5 years ago by madair

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

Changed 5 years ago by madair

  • status changed from closed to reopened
  • resolution fixed deleted

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?

Changed 5 years ago by madair

(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.

Changed 5 years ago by madair

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

Changed 5 years ago by madair

  • status changed from reopened to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.