[Routing] geoext problem

javad sadidi jsadidi at gmail.com
Sat Jul 16 12:51:48 BST 2011


hi all
I am trying to learn pgroutnig and webmapping via the latest workshop.

   - FOSS4G 2010: FOSS4G routing with pgRouting tools, OpenStreetMap road
   data and GeoExte
   <http://www.pgrouting.org/docs/foss4g2010/index.html>

I have 2 problem.
1.
I have geoserver with Tomcat6 and mapserver but when I put the codes inside
the root of Tomcat or mapserver , my browser doesnt response any thing and
it is empty page. the code is
<html>
<head>

<title>A Basic GeoExt Page</title>
<script src="Ext-3.2.1/adapter/ext/ext-base.js"
type="text/javascript"></script>
<script src="Ext-3.2.1/ext-all.js"  type="text/javascript"></script>
<link rel="stylesheet" type="text/css"
href="Ext-3.2.1/resources/css/ext-all.css" />
<script src="OpenLayers-2.9.1/lib/OpenLayers.js"
type="text/javascript"></script>
<script src="GeoExt-0.7/lib/GeoExt.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css"
      href="GeoExt-0.7/resources/css/geoext-all-debug.css" />

<script type="text/javascript">
    Ext.onReady(function() {
        var panel = new GeoExt.MapPanel({
            renderTo: 'gxmap',
            map: {
                layers: [new OpenLayers.Layer.OSM("Simple OSM Map")]
            },
            center: [245300, 5070600],
            zoom: 11,
            height: 400,
            width: 600,
            title: 'A Simple GeoExt Map'
        });
    });
</script>
</head>
<body>
<div id="gxmap"></div>
</body>
</html>

do you think that I have to install geoext or other things on my ubuntu10.04

2, if I want to use my own maps instead of openstreet map via geoexplorer
opengeo suite , what should I do.

who can help me
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/routing/attachments/20110716/614021de/attachment.html>


More information about the Routing mailing list