I am developing an application for a mobile environment using 
OpenLayers.mobile.js

1. There seems to be a problem with setting singleTile:true in the layer 
options for a WMS layer:

var fbnd = new OpenLayers.Layer.WMS( "Farm boundary",
                    "http://myserver/cgi-bin/gsswms.exe?farmid="+farmid,
                    {layers: ['farm'], transparent: 'true'},
                    {singleTile: true, isBaseLayer: false, visibility: true, 
opacity: 0.6 } );    
map.addLayers([fbnd]);

This layer will not draw using OpenLayers.mobile.js but will when using 
OpenLayers.js

When checking with Firebug the width parameter in the WMS call is set to 
Infinity.

Is this a bug?

2. Does anyone have some hints as to how to develop  a LayerSwitcher as this is 
not included in OpenLayers.mobile.js?

Many thanks,

Robert Sanson



This email and any attachments are confidential and intended solely for the 
addressee(s). If you are not the intended recipient, please notify us 
immediately and then delete this email from your system.

This message has been scanned for Malware and Viruses by Websense Hosted 
Security.
www.websense.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to