OpenLayers Spherical Mercator Example

spherical, mercator, osm, xyz, google, virtual earth, tile

Shows the use of the Spherical Mercator Layers, for overlaying Google, Microsoft, and other layers with XYZ tiles.

Note that maps with Google layers are a special case, because we cannot control the position of the attribution. To conditionally position controls differently for Google layers, prepend the css selector with .olForeignContainer.