Postponed (maintainer needs more info)
Project:
Openlayers
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2010 at 12:14 UTC
Updated:
31 Dec 2015 at 14:09 UTC
Jump to comment: Most recent
Comments
Comment #1
filburt commentedHi,
I figured out that unfortunately this problem isn't solved, yet. No maps are shown in IE7 and IE8
I'm using the latest versions of Openlayers and Shadowbox:
- Drupal 7.12
- Shadowbox 7.x-4.0-beta4+8-dev
- Openlayers 7.x-2.0-beta1+46-dev
IE7 Error: Error during map rendering: TypeError: 'geometry' is null or not an object
Any idea?
Thanks for support!
Filburt
Comment #2
garbo commentedHi Filburt,
i solved this problem by using lightbox2 instead of shadowbox.
Cheers,
Bram.
Comment #3
manfer commented@filburt
I have tested and this is not happening for me.
I can't try every possibility on OpenLayers module to figure out what is happening in case it is still happening. I would need more info as OpenLayers seems a huge project that has lots of different configurations, so unless more info about the map that triggers the problem or a link to a site with the problem is provided I can't do anything.
The info you provide about the issue is nice but sadly not enough.
@garbo
Using lightbox2 is not a solution for an issue on shadowbox module.
Comment #4
garbo commented@manfer, You're correct. Using Lightbox instead of Shadowbox is not a solution but a work-around. But sometimes when time is the limit work-arounds can help.
Comment #5
nclavaud commentedWe've runned into the same issue using Drupal 7.14, Shadowbox 7.x-3.0-beta8 and OpenLayers 7.x-2.0-beta1.
This post for OpenLayers D6 helped us figure out the problem, especially comments #6 and #7.
http://drupal.org/node/734552#comment-2740816
In js/openlayers.js, around line 240, we should make sure that newFeature is an object, since shadowbox module is adding a function to the newFeatureSet array, as explained in the linked post.
I don't know if this is the best place to fix this issue, bug patching js/openlayers.js as shown below solved our problem.
Comment #6
botrisConfirming #5 to work
Comment #7
bcobin commentedWow. Thanks so much for this - saved my butt.
Will circle back here and post to OpenLayers if the issue hasn't been already - +1 to committing this to OL - thanks!
Comment #8
botrisPlease commit
Comment #9
manfer commentedWell, I don't think this is something that can be committed from openlayers module either as probably openlayers is a third party javascript library so most probable this is something that people have to apply manually themselves.
Anyway I'm going to send this back to openlayers so they decide if they can do a patch for this or not.
Comment #10
m.stentaA lot of code has changed in the Openlayers module since this was last updated, so this may no longer be an issue. Please reopen and post a patch if it is. Thanks!