am following this tuto to create a map on web with geoserver, GeoEXT, EXTJs, and openlayers here's the linki downloaded ext 4.2.0, openlayers 2.12 and GeoEXT 1.1, when i try to show the map : //geo.ancfcc/geoserver/www/search/map.html , all i get is a blank page. i don't know what's the error (i don't know where to find error log) here's my map.html:

   <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
        A map
<script src="../ext/ext-all-debug.js" type="text/javascript"></script>
<script src="../ext/bootstrap.js" type="text/javascript"></script>
<script src="../ext/ext-all.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../ext/resources/css/ext-all.css">
<script src="../openlayers/OpenLayers.js" type="text/javascript"></script>
<script src="../GeoExt/lib/GeoExt.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../GeoExt/resources/css/geoext-all-debug.css">

<script type="text/javascript">
     Ext.onReady(function() {
      var map = new OpenLayers.Map();
      var layer = new OpenLayers.Layer.WMS(
        "Blue Marble",
        {layers: "ancfcc:titres_salemed_valid"}

      new GeoExt.MapPanel({
          renderTo: 'gxmap',
          height: 400,
          width: 600,
          map: map,
          title: 'A Simple GeoExt Map'

  • 2
    That's not all your HTML I assume as there is no <body>. Could you include the body HTML as well? Also, seeing as you just get a blank map that normally points at a JavaScript error. You should load it up in Firefox and use the Firebug extension (Or Safari/Chrome - Developer Toos) to look at any errors returned in the console. – Rob Quincey May 8 '13 at 10:58
  • sii i have it, sorry just forgot to copy well : </head> <body> <div id='gxmap'></div> </body> </html> ok thanks for the advice – Geographic May 8 '13 at 11:31
  • Now it's works i can see the panel but i dont get the map inside. i assume it's a WMS issue, because when im trying to load this page : geo.ancfcc/geoserver/wms am getting this error: in serviceException report: <ServiceException code="MissingParameterValue" locator="request"> Could not determine geoserver request from http request org.geoserver.platform.AdvancedDispatchFilter$AdvancedDispatchHttpRequest@90c029 </ServiceException> – Geographic May 8 '13 at 14:43

It can't work because you have :

  • Ext 4.2.0
  • Openlayers 2.12
  • GeoExt 1.1

and if you carefully read http://geoext.org/tutorials/quickstart.html#getting-geoext you have

Download the latest Ext 3.x from the ExtJS website

Furthermore, read http://blog.opengeo.org/tag/extjs4/ to confirm

  • oki thanks a lot, i didn't notice that :D – Geographic May 8 '13 at 23:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.