Sha256: 428560717e77d330d03a8a52f78cd73ff9ca0e30d1c8243295d7bfa1bd50d9f8

Contents?: true

Size: 1.8 KB

Versions: 7

Compression:

Stored size: 1.8 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <title>Google v3 with Overlay Test</title>
    <link rel="stylesheet" href="../../theme/default/style.css" type="text/css" />
    <link rel="stylesheet" href="../../examples/style.css" type="text/css">
    <style type="text/css">
        html, body, #map {
            width: 100%;
            height: 100%;
            margin: 0;
        }
        #text {
            position: absolute;
            top: 1em;
            right: 1em;
            width: 512px;
            z-index: 20000;
            background-color: white;
            padding: 0 0.5em 0.5em 0.5em;
        }
    </style>
    <script src="http://maps.google.com/maps/api/js?v=3.6&amp;sensor=false"></script>
    <script src="../../lib/OpenLayers.js"></script>
  </head>
  <body>
    <div id="map"></div>
      <div id="text">
          <h1 id="title">Google v3 with Overlay Test</h1>

        <div id="docs">
            <p>This test shows that the Google layer and overlays are not in sync while dragging or zooming.</p>
        </div>
    </div>
    <script type="text/javascript">
        var options = {
            projection: new OpenLayers.Projection("EPSG:900913"),
            units: "m",
            maxResolution: 156543.0339,
            maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508)
        };
        var map = new OpenLayers.Map('map', options);
        var gmap = new OpenLayers.Layer.Google(
            "Google Streets", {sphericalMercator: true}
        );
        var states = new OpenLayers.Layer.WMS(
            "USA States", "http://demo.opengeo.org/geoserver/wms",
            {layers: "topp:states", transparent: true}
        );
        map.addLayers([gmap, states]);
        map.setCenter(new OpenLayers.LonLat(-10028537.429619, 4598451.0222853), 5);
    </script>
  </body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
postrunner-0.0.10 misc/openlayers/tests/manual/google-fullscreen-overlay.html
postrunner-0.0.9 misc/openlayers/tests/manual/google-fullscreen-overlay.html
postrunner-0.0.8 misc/openlayers/tests/manual/google-fullscreen-overlay.html
postrunner-0.0.7 misc/openlayers/tests/manual/google-fullscreen-overlay.html
postrunner-0.0.6 misc/openlayers/tests/manual/google-fullscreen-overlay.html
postrunner-0.0.5 misc/openlayers/tests/manual/google-fullscreen-overlay.html
postrunner-0.0.4 misc/openlayers/tests/manual/google-fullscreen-overlay.html