[OpenLayers-Users] ArcGIS93Rest is not taking tilesize into account ?

bartvde at osgis.nl bartvde at osgis.nl
Tue Mar 17 10:09:32 EDT 2009


Hi,

it's tileSize and not tilesize.

Best regards,
Bart

>
> Hi,
>
> I tested ArcGIS93Rest ( from trunk ), but I don't see how I can manipulate
> the tilesize.
> My code :
>    	var map = new OpenLayers.Map('center', {
>     		projection: "EPSG:3035"
>     		,units: 'm'
>     		,tilesize: new OpenLayers.Size(512,512)
>             });
>
> 	var boundaries = new OpenLayers.Layer.ArcGIS93Rest("layerA",
>
> "http://server:8399/arcgis/rest/services/layerA/mapserver/export",
>             { layers: "show:0,1", format: "png"}, {tilesize: new
> OpenLayers.Size(512,512),isBaseLayer: true} );
>
> Firebug shows me that the params for the request are :
>      BBOX 4392598.847857,3507465.496235,4399372.177532,3514238.825911
>      BBOXSR 3035
>      F image
>      FORMAT png
>      IMAGESR 3035
>      LAYERS show:0,1
>      SIZE 256,256
>
> Where does 256,256 come from ?
>
> best regards,
> linde
>
>
> --
> View this message in context:
> http://n2.nabble.com/ArcGIS93Rest-is-not-taking-tilesize-into-account---tp2491540p2491540.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list