Ticket #1030 (closed feature: duplicate)

Opened 6 years ago

Last modified 6 years ago

map resolution should be set in setCenter

Reported by: tschaub Owned by:
Priority: minor Milestone: 2.6 Release
Component: Map Version: 2.5 RC3
Keywords: Cc:
State: Review

Description

We set map.center in map.setCenter. This is a good place to set map.resolution as well. (This is related to #824.)

Attachments

resolution.patch Download (2.0 KB) - added by tschaub 6 years ago.
set resolution in setCenter

Change History

Changed 6 years ago by tschaub

set resolution in setCenter

Changed 6 years ago by tschaub

  • keywords review added
  • milestone set to 2.6 Release

All tests pass in IE & FF. Please review.

(It makes map deserialization easier if we keep track of resolution as a property on the map.)

Changed 6 years ago by tschaub

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

The patch for #1032 incorporates this change.

Note: See TracTickets for help on using tickets.