Geoserver URL


HTML code


<title> A Basic GeoExt Page </title>
<script src="ext-3.4.0/adapter/ext/ext-base.js" type="text/javascript"></script>
<script src="ext-3.4.0/ext-all.js"  type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="ext-3.4.0/resources/css/ext-all.css"></link>
<script src="OpenLayers-2.12/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/geoext-all-debug.css"></link>

<script type="text/javascript">
    Ext.onReady(function() {

        var map = new OpenLayers.Map();
        var layer = new OpenLayers.Layer.WMS(
            "Global Imagery",
            {layers: "bluemarble"}

        new GeoExt.MapPanel({
            renderTo: 'gxmap',
            height: 400,
            width: 600,
            map: map,
            title: 'A Simple GeoExt Map'
<div id="gxmap"></div>

What is the problem? Pls help me.

  • 1
    Indeed, what is the problem? Exactly what goes wrong? – whuber Jul 25 '12 at 15:32

Your projections are wrong.


says that you want a map in lat/lon (epsg:4326) while your bounding box says that you want a map in meters (? epsg:900913?). GeoServer has given you exactly what you asked for - a very small map somewhere in the lower left corner (-180,-90 180,90) of the larger image requested.

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.