Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to openlayers. I tried this example. I have published world shapefile to tiger workspace as 'country' layer to geoserver and want to access with WMS. The world map is getting displayed in IE on Windows XP but not in IE of Windows 6 mobile emulator. I am able to access geoserver's admin page on my PC from the mobile emulator so network connection may not be issue. Kindly suggest anything I am missing.

  <title>OpenLayers Example</title>
    <script src="http://host IP address:8080/geoserver/OpenLayers.js"></script>
      <div style="width:100%; height:100%" id="map"></div>
      <script defer="defer" type="text/javascript">
        var map = new OpenLayers.Map('map');
        var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
            "http://host IP address:8080/wms", {layers: 'tiger:country'} );

share|improve this question
did u try to use mobile version of openlayers? – Aragon Jun 22 '12 at 10:09
I have downloaded examples for mobile from these,‌​-jq.html.openlayers.js is in the corresponding subfolder e.g. mobile_files formobile.html. Is there a specific version of openlayers for mobile that I need to download & reference? If so, please provide the link/website. – Lakshmi Jun 23 '12 at 11:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.