- "It looks like your "map" div has no dimension."
I have this style defined in the head
<style>
#divMap{
width:500px;
height:500px;
border:1px solid;
}
</style>
- Do you wait for the page to be loaded before creating the map object?
hmmm I thought I was since I use the same code since a while...How can I
make sure it is loaded?
thanks for your help,
Steve
Eric Lemoine <[email protected]>
2010-11-05 15:16
A
"[email protected]" <[email protected]>
cc
"[email protected]"
<[email protected]>, "[email protected]"
<[email protected]>
Objet
Re: [OpenLayers-Users] map doesn't render in IE6
On Friday, November 5, 2010, <[email protected]> wrote:
>
>
> Hi Eric,
>
> visibility: true doesn't fix it....
>
>
> I also tried using http://openlayers.org/api/2.9/OpenLayers.js
>
> No success, Same behavior
> But I got this error
>
> Message : 'this.map.getSize()'
> is null or not an object
>
> Ligne : 1365
>
> Caractère : 574
>
> Code : 0
>
> URI : http://openlayers.org/api/2.9/OpenLayers.js
>
>
> Steve
It looks like your "map" div has no dimension. Do you wait for the
page to be loaded before creating the map object?
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users