This error occurs both in trying to view a map and in the "Center & Bounds" section of Presets.

I tried with the base layer OSM Mapnik and Google Maps and both result in error. Two attached screen shots.

It works fine in Firefox. I find a lot of things work fine outside of Internet Explorer 8.

Thanks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

itserich’s picture

Think this is a related problem.

Node fileld: Field Type - OpenLayers WKT, Widget Type - OpenLayers Geocoder

Autocompletion is set to populate text field with [street_address].

Autocompletion does not occur in IE8, and does occur in Firefox.

Also map displaying location does not appear in IE8, with the same error noted above, which is why I think the two problems are related.

The IE8 OpenLayers WKT does populate itself. I simply need a way to display it in a viewed node, for now.

itserich’s picture

Status: Active » Closed (fixed)

EDIT - And the Winner is: IE Unlimited CSS Loader, at least for now.

Installed IE Unlimited CSS Loader and IE CSS Optimizer and both the map display and autocomplete problems appear to be resolved.

Not sure which module does what, but so far so good.

http://drupal.org/project/unlimited_css
http://drupal.org/project/ie_css_optimizer

john_the_noob’s picture

Had the same problem, it is unlimited_css that solves it !
Maybe this should be added to the docs ?

itserich’s picture

I have since learned there appears to be a built in CSS optimizer at Site Configuration -> Performance so perhaps that is why this is not a common problem.

A side note, it appears Antonio is a/the mantainer for OL Proximity and IE Unlimited CSS.

tmcw’s picture

This is already in the docs: IE.txt under 31 stylesheets.

scalp’s picture

Thank you so much for figuring this out! I would suggest not only mentioning the problem in the docs, but include the links or project name of the unlimited CSS module. Saved my day and I didn't figure it out from reading the docs.

Shiraz Dindar’s picture

+1 for unlimited_css resolving this issue

thanks!

estebanvalerio.h’s picture

Issue tags: +drupalcr

I was having the following errors:

IE 7 -> LOG: [object Error]
IE 8 -> Error: Invalid argument.

when trying see a map and in fact, after download and enable: IE Unlimited CSS Loader those problems were solved!

lucidus_neil’s picture

Status: Closed (fixed) » Active

Not sure if I should file a separate ticket for this but this is for 7.x. I'm having exactly the same problem described here but the css is already aggregated through Drupal 7 performance tab. The problem only happens in IE8 and IE9. If I disable the layer with my data, the Google Map (or Mapquest Map for that matter) will come up. As soon as I turn on the layer with my locations, it breaks (but only in IE). I've tried disabling all locations and then adding them one by one thinking it might be bad data in one of them but it's when any of them are added.

lucidus_neil’s picture

Version: 6.x-2.0-alpha10 » 7.x-2.x-dev
chris_h’s picture

I'm getting the same errors since an upgrade from 7.x-2.0-beta1+46-dev to the latest dev (7.x-2.0-beta1+76-dev).

IE developer tools say:

LOG: TypeError: Object doesn't support this property or method
Invalid argument. OpenLayers.js, line 179 character 18

Any ideas? As with Lucidus, CSS/JS is aggregated. The geofield map equivalents work fine.

chris_h’s picture

This was being caused by clientside_validation module - http://drupal.org/node/1776242

Pol’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dianacastillo’s picture

I have a similar problem , in IE 9 I get this Error found during map rendering: TypeError: Unable to get value of the property 'transform': object is null or undefined
but I dont have clientsidevalidation module active

dianacastillo’s picture

Solved my problem by disabling Adaptive Image Style Module, now the map works in IE9

Rob C’s picture

Issue summary: View changes

Search index has a minimum of 3 letters, so you can not search for IE. Updated IE to Internet Explorer.