[OpenLayers-Users] a very simple question

Christopher Schmidt crschmidt at metacarta.com
Mon Jun 25 10:01:10 EDT 2007


On Mon, Jun 25, 2007 at 04:41:39PM +0300, fadi maali wrote:
> Hi All,
> 
> I have a very simple basic question:
> how can I set the height and width of the map using openlayers?

CSS.

#map {
    width: 800px;
    height: 475px;
    border: 1px solid black;
}

-- http://openlayers.org/dev/examples/lite.html

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list