crschmidt from OpenLayers reported that in order for the online API to correctly find external assets
you need to use the /api/, not /dev/, version of the online URL.

I've tested this to fix the misplacement of widgets (layer switcher, coordinates).

This bug only affects default install (when not changing the URL to get the OpenLayers.js file).

Patch attached.

CommentFileSizeAuthor
OL_online_API.patch773 bytesstrk

Comments

zzolo’s picture

Status: Active » Fixed
zzolo’s picture

Backported for 1.x: http://drupal.org/cvs?commit=378166
Creating release for 1.x. Don't have time to fully test 2.x release at the moment, though I think it would be fine.

strk’s picture

For the record, the backward compatibility issue (openlayers side) is discussed here:
http://trac.openlayers.org/ticket/2619

Status: Fixed » Closed (fixed)

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