[OpenLayers-Users] Accuracy of OpenLayers at scales less than 1:15000

Jean-Marc Strydom j-ms at souwest.co.za
Fri Sep 19 07:40:29 EDT 2008


Hi Arndt

That did the trick !  Much more accurate - more accurate than what we need, 
although positioning does go slightly out at very large scales (ie. down to 
1:200) but the key thing is that the mouse position is correctly reflected 
in the displayed cords and that the mouse event picks up the correct land 
parcel.  Thanks ever so much.  BTW, why would those parameters affect the 
map ?

Regards
Jean-Marc
----- Original Message ----- 
From: "Arnd Wippermann" <arnd.wippermann at web.de>
To: "'j-ms'" <j-ms at souwest.co.za>
Cc: <users at openlayers.org>
Sent: Friday, September 19, 2008 12:46 PM
Subject: AW: [OpenLayers-Users] Accuracy of OpenLayers at scales less than 
1:15000


> Hi,
>
> try it without these params, then it should work.
>
> width: '800',
> height: '400',
> tiled: 'true',
> tilesOrigin : "27.666619,-32.907249"
>
> =>
>
> layer_Selected = new OpenLayers.Layer.WMS(
>    "Selected", "/geoserver/wms",
>    {
>        CQL_FILTER: "(sgnumber = 'c04000060000001500000')",
>        srs: 'EPSG:4326',
>        styles: 'LandParcel_Selected',
>        layers: '_view_gis_landparcel_full',
>        format: 'image/png',
>        transparent: true
>    },
>    {buffer: 0, 'opacity': 0.4, 'isBaseLayer': false}
> );
>
> map.addLayer(layer_Selected);
>
> Arnd Wippermann
>


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.7.0/1679 - Release Date: 9/18/2008 
5:03 PM




More information about the Users mailing list