Or you can choose not to tiles, instead you set "singleTile = true".

Ryan Hofschneider wrote:
> 
> 
> On Jul 18, 2008, at 12:37 PM, Don Sullivan wrote:
> 
>>
>> How do I override the HEIGHT=256,WIDTH=256 in OpenLayers. Layer.WMS  
>> call
>> to OGC WMS server ?
> 
> Through the tileSize property:
> http://dev.openlayers.org/releases/OpenLayers-2.6/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.tileSize
> 
> var options = {
>      tileSize: new OpenLayers.Size(512,512)
> }
> 
> var map = new OpenLayers.Map("map", options);
> 
> Cheers,
> Ryan
> 
> 
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Override-256x256-HEIGHT-WIDTH-in-Layer.WMS-tp18536399p18622575.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to