[Commits] r852 - apps/opengeo/geoexplorer/trunk
commits at geoext.org
commits at geoext.org
Fri May 22 22:15:49 CEST 2009
Author: tcoulter
Date: 2009-05-22 22:15:48 +0200 (Fri, 22 May 2009)
New Revision: 852
Added:
apps/opengeo/geoexplorer/trunk/embed.html
Log:
embed.html with SFB.
Added: apps/opengeo/geoexplorer/trunk/embed.html
===================================================================
--- apps/opengeo/geoexplorer/trunk/embed.html (rev 0)
+++ apps/opengeo/geoexplorer/trunk/embed.html 2009-05-22 20:15:48 UTC (rev 852)
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+ <head>
+ <title>GeoExplorer Embedded (debug)</title>
+
+ <!-- This file is expected to go into an iframe. -->
+
+ <!-- Ext resources -->
+ <link rel="stylesheet" type="text/css" href="externals/ext/resources/css/ext-all.css" />
+ <link rel="stylesheet" type="text/css" href="externals/ext/resources/css/xtheme-gray.css" />
+ <script type="text/javascript" src="http://extjs.cachefly.net/ext-2.2/adapter/ext/ext-base.js"></script>
+ <script type="text/javascript" src="http://extjs.cachefly.net/ext-2.2/ext-all.js"></script>
+
+ <!-- OpenLayers resources -->
+ <link rel="stylesheet" type="text/css" href="externals/openlayers/theme/default/style.css" />
+ <script type="text/javascript" src="externals/openlayers/lib/OpenLayers.js"></script>
+
+ <!-- GeoExt resources -->
+ <script type="text/javascript" src="externals/geoext/lib/GeoExt.js"></script>
+ <link rel="stylesheet" type="text/css" href="externals/geoext/resources/css/geoext-all-debug.css" />
+ <link rel="stylesheet" type="text/css" href="externals/geoext/resources/css/gxtheme-gray.css" />
+
+ <!-- GeoExplorer resources -->
+ <link rel="stylesheet" type="text/css" href="theme/geoexplorer.css" />
+ <!--[if IE]>
+ <link rel="stylesheet" type="text/css" href="theme/ie.css"/><![endif]-->
+
+ <script type="text/javascript" src="script/GeoExplorer.js"></script>
+
+ <script>
+ Ext.BLANK_IMAGE_URL = "theme/img/blank.gif";
+ var app = new GeoExplorer.Embed({
+ ows: "/geoserver/ows",
+ map: {
+ layers: [{
+ name: "topp:states"
+ }],
+ center: [-96.7, 37.6],
+ zoom: 4
+ }
+ });
+ </script>
+
+ </head>
+ <body>
+ </body>
+</html>
More information about the Commits
mailing list