Hi Puneet,


On 14.09.2010 14:13, P Kishor wrote:
hmmm... you are correct. My map div is indeed 800 x 400. If the
"ratio" is default of 1.5, can I set the ratio to be 1? I don't see
any mention of it in either the Map or the Layer constructor.

Thanks,

The property ratio is inherited from OpenLayers.Layer.Grid I suppose.

see http://dev.openlayers.org/releases/OpenLayers-2.10/doc/apidocs/files/OpenLayers/Layer/Grid-js.html#OpenLayers.Layer.Grid.ratio

Wouldn't be too bad though if inherited properties could show up in the API-docs.

Regards and I hope this helps.

-- Marc

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

Reply via email to