[OpenLayers-Users] IE: OpenLayers not visible
Chau
cbo at le34.dk
Fri Nov 27 09:14:23 EST 2009
Kenneth Skovhede, GEOGRAF A/S wrote:
>
> The most common reason something works in FF but fails in IE is a
> trailing comma:
>
> var obj = {
> x: 1,
> y: 2, //<--- Causes error in IE, fine in FF
> };
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Chau skrev:
>> Hi!
>>
>> I've made a fairly simple OpenLayers page, that just displays a map,
>> zoom/pan, overview map and layercontrol. It works perfectly in FF, but in
>> IE
>> the page is visually empty. Using IE8's debugging tool, I can verify,
>> that
>> my 'map' DIV has been populated. When I pan/zoom in the window, IE is
>> caching new images - just like I think it should, but still nothing is
>> visible. I recieve no JS errors and a validation of the HTML and CSS code
>> returns succesfully from W3.
>>
>> Can you guide me to find the problem?
>>
>> Kind regards, Casper
>>
>>
>>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
That is so true, but in those cases - for me atleast - IE responds with an
error pointing at some random object error.
I my case, it was a question of trying to create a fullscreen map, which
resulted in my map being invisible in IE, but still available for
manipulation. How I am able to move around in an invisible map, I don't
know.
Kenneth, Thanks for your fast answer.
/Casper
--
View this message in context: http://n2.nabble.com/IE-OpenLayers-not-visible-tp4075092p4075900.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list