* The Map's private createProjection_ method is now a public method of the Projection. It is also used by TiledWMSSource to calculate the appropriate projection from the user configuration. * ol.Projection.addProjection now adds the transformation for the source == target case. This makes it easy for the user to create custom projection maps without including proj4js and without adding a custom transformation, as long as the userProjection equals the projection. * The TiledWMSSource now uses the same default resolutions as the map (i.e. the OSM resolutions) * The modulo calculation for wrapping extents now works for all grid configurations, by not calculating the number of columns based on an assumption about the way the zoom levels relate to resolutions. * The wms-custom-proj example now shows how to properly configure a custom resolution, i.e. by using the validity extent of the projection as its extent.
1.9 KiB
1.9 KiB