[Commits] r1409 - apps/opengeo/geoexplorer/trunk/src/html

commits at geoext.org commits at geoext.org
Fri Oct 9 21:53:39 CEST 2009


Author: tschaub
Date: 2009-10-09 21:53:39 +0200 (Fri, 09 Oct 2009)
New Revision: 1409

Modified:
   apps/opengeo/geoexplorer/trunk/src/html/embed.html
Log:
Better defaults for the embed loader.

Modified: apps/opengeo/geoexplorer/trunk/src/html/embed.html
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/html/embed.html	2009-10-09 19:03:23 UTC (rev 1408)
+++ apps/opengeo/geoexplorer/trunk/src/html/embed.html	2009-10-09 19:53:39 UTC (rev 1409)
@@ -29,28 +29,28 @@
         <script>
             Ext.BLANK_IMAGE_URL = "@blank.gif@";
             var app = new GeoExplorer.Embed({
-                proxy: "/proxy/?url=",
+                alignToGrid: true,
                 about: {
                     title: "GeoExplorer Demo Map",
                     "abstract": "This is a demonstration of GeoExplorer, " +
                         "an application for assmebling and publishing web " +
-                        "based maps.",
+                        "based maps.  After adding layer to the map, find " +
+                        "the 'Publish Map' button above to embed this map " +
+                        "in any web page.",
                     contact: "For more information, contact <a href='http://opengeo.org'>OpenGeo</a>."
                 },
                 wms: {
-                    "demo": "http://demo.opengeo.org/geoserver/ows"
+                    "demo": "/geoserver/ows/"
                 },
                 map: {
                     layers: [{
-                        name: "openstreetmap",
+                        name: "World",
+                        title: "World",
                         wms: "demo",
                         group: "background"
-                    },{
-                        name: "topp:states",
-                        wms: "demo"
                     }],
-                    center: [-96.7, 37.6],
-                    zoom: 4
+                    center: [-6.328, 5.249],
+                    zoom: 2
                 }
             });
         </script>



More information about the Commits mailing list