Active
Project:
Openlayers
Version:
7.x-2.x-dev
Component:
OL Layers
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Anonymous (not verified)
Created:
7 Dec 2011 at 22:47 UTC
Updated:
8 Sep 2017 at 10:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nod_related, other version #1362988: The map does not appear in IE but there is no Error during map rendering !?
can you tell me if this patch fixes you issue please.
Comment #2
Anonymous (not verified) commentedI was reading about it here,
http://stackoverflow.com/questions/4737223/openlayers-google-maps-layers...
...OpenLayers mistakenly adds a "blank.gif" covering the entire map in IE9:
This is the part:
Except that is generated with JS somewhere in OpenLayers.js ... So this is an official Openlayers bug
Comment #3
Anonymous (not verified) commentedI tried your patch from #1, but it has no effect in removing the blank.gif.
Comment #4
Anonymous (not verified) commentedWait, it does work. Refreshed my browser cache, your patch seems to work.
Comment #5
nod_umm, try to hack around in the OpenLayers.js library file and replace : set animationEnabled: false, for google layer type. Seems to be an issue with v3
Comment #6
nod_\o/ horray, i'll just wait tomorrow for confirmation and i'll commit. sorry for the status change, took too long to respond.
Comment #7
zzolo commentedI just committed code to add the animationEnabled option in the interface.
Comment #8
nod_commited to 7.x-3.x
Comment #10
vasikei can confirm this issue and the commit won't fix the IE problem
it seems there's an issue within "OpenLayers.js", it calls "blank.gif" several times.
if i change it to ""img/blank.gif" it will work in IE.
it looks like it doesn't use the right path. is this Openlayers library issue?
Comment #11
jonmcl commentedI'm not fully versed on the patch discussed above, but I did just hit this problem again after upgrading my OpenLayers module. I had previously fixed the IE issue by renaming blank.gif to _blank.gif.
Today I tried something different -- I created a new blank.gif file from scratch. It appears that IE has a problem with the themes/default_dark/img/blank.gif file that is packaged with the module. My new one seems to work fine.
Comment #12
vasikei can confirm #11 issue and solution. so i think the themes/default_dark/img/blank.gif file should be replaced with the right one.
thanks JonMcL
Comment #13
vasikeComment #14
zzolo commentedHey @JonMcL, can you attache your blank.gif file, please. thanks.
Comment #15
jonmcl commentedFile attached.
I believe I made it in Adobe Fireworks.
Comment #16
zzolo commentedFixed. Thanks for the image, @JobMcL.
http://drupalcode.org/project/openlayers.git/commit/21e2956
If someone can confirm that it is working, that would be awesome.
Comment #17
crizThx, I can confirm that it fixes the issue, at least in ie7 and ie8...
Comment #19
davidtrainer commentedPatch for Drush Make.
Comment #20
twooten commentedworking for me - thanks!
Comment #21
ordermind commentedFor me the only one of these fixes that worked was #10. I used a local version of OL and changed "blank.gif" to "img/blank.gif" in OpenLayers.js and that did the trick.
Comment #22
adamgerthel commentedodd problem. Replacing the blank.gif worked for me. I used the one from #15
Comment #23
alexpz commented#15 solution did fixed my problem by changing the blank.gif with the attach one.
Comment #24
polComment #25
dianacastillo commentedI did this patch #1 and now instead of a totally white screen , i get: "Error during map rendering: TypeError: Unable to get value of the property 'transform': object is null or undefined"
Comment #26
dianacastillo commented#10, I dont see blank.gif anywhere in the openlayers/js/openlayers.js , but just in case i replaced blank.gif for the one in this issue, but makes not diference, I still get "Error during map rendering: TypeError: Unable to get value of the property 'transform': object is null or undefined"
I'm using 7.x-2.0-beta3
Comment #27
rob c commentedLong story short: I updated to 1aafdad93249b562a0895a6751d46aedcd2ac1ba and then the error dianacastillo describes looks fixed. (also seen the blank page without an error, but can't remember what i did to fix that)
@dianacastillo did you try other maps? Like the OSM streetmap? Just to rule out if your issue is a Google-only issue.
(I'm starting to believe we could possibly be mixing up issues here)
Comment #28
dianacastillo commentedHi rob, what do you mean you updated to 1aafdad.. etc? what does that mean?
I downloaded the openlayer library, instead of the hosted openlayers library, replaced the blank gif, changed maps, ( I was using the mapquest OSM, using google map now ) and I still get this message on IE 9 and no map:
"Error during map rendering: TypeError: Unable to get value of the property 'transform': object is null or undefined"
Comment #29
dianacastillo commentedThe problem has to do with the layers, when I disable all of the layers the map shows up fine in IE. But as soon as I mark one of the layers as activated and enabled I get that error : "Error during map rendering: TypeError: Unable to get value of the property 'transform': object is null or undefined"
Comment #30
dianacastillo commentedThe problem with viewing it in IE is caused by a conflict with the Adaptive Image Styles module. If I disable that module the map works fine in IE 9
Comment #31
katannshaw commented@Rob C: Thank you for your #27 comment from a year ago. I switched to another map type and cleared my cache, and voilà! Sometimes is just so simple.