Commit Graph

103 Commits

Author SHA1 Message Date
ahocevar 87ce763ccb Use validity extent to generate default resolutions
Previously, the TiledWMS source generated a resolutions array
derived from the world extent in meters, to match the default
Web Mercator resolutions of the map. This wouldn't work for
projections with distance units different than meters. It is
better to commit to a default resolutions array where zoom level
0 is the validity extent of the projection (not the Web Mercator
world extent!) at a 256 pixel tile size.
2013-01-14 16:10:55 +01:00
Tom Payne e5d39724c9 Give each source file a unique name 2012-10-26 11:25:26 +02:00
Tom Payne 65b8e0f915 Use object literals and use generic tile layer 2012-09-27 12:45:00 +02:00