Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Use Markdown for this comment
Set severity, which reflects how much the issue affects the use of the product
Change issue status back to 'Assigned'
Pending code changes (auto-populated)
[ID: 82786]
[ID: 82657]
Use this custom field to mark fixed issues that were updated in StackOverflow questions/answers [ID: 167915]
[ID: 82725]
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
Set the version(s) of the product affected by this issue (comma-separated list)
Set the version(s) of the product in which the issue should be fixed (comma-separated list)
Set the version(s) of the product in which the issue fix was verified (comma-separated list)
Set if this issue occurs in production
Set Reporter
Set Type
Set priority, which reflects how soon the issue should be fixed
Set Status
Set Assignee
Set Verifier
View or edit staffing
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Description
- Custom Map Type with maxZoom set to 5.
- Standard map (SATELLITE or ROADMAP) with default maxZoom of 19 or 24
(doesn't matter, as long as it's different than whatever custom map is set
to).
- Event attachment on 'maptypeid_changed'.
- Initialize the default MapTypeId to the Custom Map Type.
Bug Description:
When the map type is changed (via the map type control buttons) and the
'maptypeid_changed' event fires, setting map.setZoom(aNumber); to a number
greater than the maxZoom of the *former* map type (9 for example) results
in the new map type being displayed at 5, the *former* map's maxZoom
level, not 9 which would respect the *new* map's maxZoom level. To verify,
I can, before the onEvent function exits, execute the map.getZoom()
function which will reports 5 instead of the 9 that it was set to a few
lines above.
In the attached file, the map starts on CoordMapType. Changing to
SATELLITE should set itself to zoom level 9, but instead it sets to 5.
Changing from SATELLITE to ROADMAP works as expected (setting to 9) since
the *former* map (SATELLITE) already has the level 9. The results are
printed live to the div#Debug below the map for convenience.