[Commits] r841 - apps/opengeo/geoexplorer/trunk
commits at geoext.org
commits at geoext.org
Fri May 22 18:06:56 CEST 2009
Author: dwins
Date: 2009-05-22 18:06:56 +0200 (Fri, 22 May 2009)
New Revision: 841
Modified:
apps/opengeo/geoexplorer/trunk/embed-example.html
apps/opengeo/geoexplorer/trunk/embed.html
Log:
Fill out the placeholder pages for the embedded GeoBuilder.
Modified: apps/opengeo/geoexplorer/trunk/embed-example.html
===================================================================
--- apps/opengeo/geoexplorer/trunk/embed-example.html 2009-05-22 15:28:45 UTC (rev 840)
+++ apps/opengeo/geoexplorer/trunk/embed-example.html 2009-05-22 16:06:56 UTC (rev 841)
@@ -1,8 +1,14 @@
<html>
<head>
-
+ <title> Embedded GeoExplorer Example </title>
+ <!-- look ma, no <script> tags -->
</head>
<body>
- Meant to be an HTML page showing an embedded version of GeoExplorer. Stub for now.
+ <h2> Embedded GeoExplorer </h2>
+ <p> You can embed a GeoExplorer application inside of other web pages, using the <code> GeoExplorer.Embedded </code> class. This supports all of the persisted options available in the full version, including layers, styles, tools, and metadata, but with GUI components optimized for inclusion in a larger page such as a blog post.
+ </p>
+ <iframe style="height: 400; width: 600; border: 0px" src="embed.html">
+ If you see this text, your browser doesn't handle frames properly. Try a recent version of <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a>.
+ </iframe>
</body>
-</html>
\ No newline at end of file
+</html>
Modified: apps/opengeo/geoexplorer/trunk/embed.html
===================================================================
--- apps/opengeo/geoexplorer/trunk/embed.html 2009-05-22 15:28:45 UTC (rev 840)
+++ apps/opengeo/geoexplorer/trunk/embed.html 2009-05-22 16:06:56 UTC (rev 841)
@@ -37,8 +37,7 @@
<script>
Ext.BLANK_IMAGE_URL = "theme/img/blank.gif";
var app = new GeoExplorer.Embed({
- proxy: "/cgi-bin/proxy.cgi?url=",
- ows: "http://localhost/geoserver/ows",
+ ows: "/geoserver/ows",
map: {
layers: [{
name: "topp:states"
More information about the Commits
mailing list