source:
trunk/workshop-routing-foss4g/web/GeoExt/examples/mappanel-viewport.html
@
77
Revision 76, 1.7 KB checked in by djay, 13 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | <html> |
2 | <head> |
3 | <title>GeoExt MapPanel in an Ext Viewport</title> |
4 | |
5 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/adapter/ext/ext-base.js"></script> |
6 | <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/ext-all.js"></script> |
7 | <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/resources/css/ext-all.css" /> |
8 | <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/examples/shared/examples.css" /> |
9 | <!-- Google Maps API for "localhost" --> |
10 | <!-- |
11 | <script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script> |
12 | --> |
13 | <!-- Google Maps API for "dev.geoext.org" --> |
14 | <script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA_5ak-hsiH4j5bQQn7-k66xTWxvN8zH6Ta_pgIhhU0TB7bG8iAhS99ituPif4lG-2CHXoZ3qenLnK1g'></script> |
15 | <script src="http://www.openlayers.org/api/2.10/OpenLayers.js"></script> |
16 | <script type="text/javascript" src="../script/GeoExt.js"></script> |
17 | |
18 | <script type="text/javascript" src="mappanel-viewport.js"></script> |
19 | |
20 | </head> |
21 | <body> |
22 | <div id="title"> |
23 | <h1>GeoExt.MapPanel in an Ext.Viewport</h1> |
24 | </div> |
25 | |
26 | <div id="description"> |
27 | <p>This example shows how to place a MapPanel as a region in a |
28 | container using a border layout, the container is a Viewport in |
29 | this example.</p> |
30 | |
31 | <p>The js is not minified so it is readable. See <a |
32 | href="mappanel-viewport.js">mappanel-viewport.js</a>.</p> |
33 | </div> |
34 | </body> |
35 | </html> |
Note: See TracBrowser
for help on using the repository browser.