diff --git a/examples/sundials-osm.html b/examples/sundials-spherical-mercator.html similarity index 88% rename from examples/sundials-osm.html rename to examples/sundials-spherical-mercator.html index be53738462..e6850f51be 100644 --- a/examples/sundials-osm.html +++ b/examples/sundials-spherical-mercator.html @@ -1,6 +1,7 @@ - OpenLayers: Sundials on a Map + OpenLayers: Sundials on a Spherical Mercator Map + @@ -41,6 +42,7 @@ } ); map.addLayer(mapnik); + map.addLayer(new OpenLayers.Layer.Google("Google",{sphericalMercator:true})); map.addLayer(new OpenLayers.Layer.GML("KML", "kml/sundials.kml", { format: OpenLayers.Format.KML, @@ -56,6 +58,7 @@ map.addControl(selectControl); selectControl.activate(); map.zoomToExtent(new OpenLayers.Bounds(68.774414,11.381836,123.662109,34.628906).transform(map.displayProjection, map.projection)); + map.addControl(new OpenLayers.Control.LayerSwitcher()); } function onPopupClose(evt) { selectControl.unselect(selectedFeature); @@ -92,12 +95,12 @@ -

KML Layer Example

+

OSM + Google Maps + KML Reprojection

- Demonstrates loading and displaying a KML file on top of OpenStreetMap (OSM) data. + Demonstrates loading and displaying a KML file on top of OpenStreetMap (OSM) and Google Maps data. Loads data from a KML file of sundials.