Google with Overlay Example

Google, overlay, mercator, reproject, cleanup

Demonstrate a Google basemap used with boundary overlay layer.

An overlay in a Geographic projection can be stretched to somewhat line up with Google tiles (in a Mercator projection). Results get worse farther from the equator. Use the "reproject" option on a layer to get this behavior. Use the sphericalMercator option on a Google layer to get proper overlays (with other layers in Spherical Mercator).