Ticket #2665 (closed feature: fixed)

Opened 3 years ago

Last modified 3 years ago

SphericalMercator layers should respect custom projection code

Reported by: tschaub Owned by:
Priority: minor Milestone: 2.10 Release
Component: Layer.SphericalMercator Version: 2.9
Keywords: Cc:
State: Complete

Description

The spherical (or web) mercator projection may be identified by codes other than EPSG:900913 by different services. The initMercatorParameters could be modified to respect the projection given in the layer configuration.

Attachments

2665.patch Download (5.8 KB) - added by tschaub 3 years ago.
respect code given for spherical mercator

Change History

Changed 3 years ago by tschaub

respect code given for spherical mercator

Changed 3 years ago by tschaub

  • state set to Review

Changed 3 years ago by bartvde

  • state changed from Review to Commit

Great example Tim, code looks good, please commit if you can confirm tests pass.

Changed 3 years ago by tschaub

Confirmed that tests pass in FF 3, Safari 5, and IE 6. Thanks for the review.

Changed 3 years ago by tschaub

  • status changed from new to closed
  • state changed from Commit to Complete
  • resolution set to fixed

(In [10384]) Making it possible to use a custom SRS identifier for spherical mercator layers. r=bartvde (closes #2665)

Note: See TracTickets for help on using tickets.