Hi
OpenLayers 2.12 are starting to mature, and they just rolled the first RC http://lists.osgeo.org/pipermail/openlayers-dev/2012-March/008550.html When loaded 2.12RC1 I got no maps but:

TypeError: OpenLayers.loadURL is not a function
Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead.
Use of attributes' nodeValue attribute is deprecated. Use value instead.
Use of attributes' nodeName attribute is deprecated. Use name instead.
CommentFileSizeAuthor
#4 OL-2.12-Layer-switcher.JPG15.51 KBSinovchi
#2 1497348.patch782 bytesshenzhuxi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mgifford’s picture

I should have searched first. I posted a duplicate issue here:
#1506348: Testing with OL 2.12

Anyways, glad that you posted this. Looks like there are some accessibility enhancements in the new version which would be great to see!

shenzhuxi’s picture

FileSize
782 bytes

OpenLayers 2.12 works fine for the 7.x-2.x-dev now except a small CSS issue for layers switcher.

Pol’s picture

I'm willing to commit this but I need to have more inputs from people.

I'm already testing Openlayers 2.12 on http://geo.nid-de-poule.be/ without any problems so far.

Sinovchi’s picture

FileSize
15.51 KB

OL 2.12 in 7.x-2.x-dev:

When I use default OpenLayers.js
1. I also have this CSS issue for layer names in layer switcher
2. If I'm not using Rounded corners the layer switcher is not a semitransparent.

layer switcher

When I rename and use OpenLayers.light.js instead of default OpenLayers.js

1. There is no more CSS issue in layer switcher
2. Layer switcher is not semitransparent

Edited. Sorry for misleading, it is not working

shenzhuxi’s picture

I get "TypeError: undefined is not a function openlayers.js:106", if OpenLayers.light.js is used instead of default OpenLayers.js.

Sinovchi’s picture

Edited

Pol’s picture

Pol’s picture

Something else we might investigate before using 2.12 as default version: #1664256: Not able to load openlayers map in views

mgifford’s picture

Title: Support upcoming OpenLayers 2.12 » Support latest stable OpenLayers, Version 2.12
Priority: Normal » Major

It's been released. Here are the release notes:
https://github.com/openlayers/openlayers/blob/master/notes/2.12.md

Thanks for the patch @shenzhuxi - I'll have to take a look at it shortly.

Pol’s picture

I'll be working on this at the Sprint in Munich, tomorrow 8am to 4pm ;-)

StephenOTT’s picture

Really great to hear.

mgifford’s picture

Patch in #2 applies nicely against the 7.x-3.x git repo. Still doing more testing on this.

There was a dev release against 7.x-2.x-dev but wondering if we should be using version 2 or 3?

Where do you want contributions?

Pol’s picture

Hello mgifford,

I'm focusing on 7.x-2.x, but you are free to contribute for any version you want, it's just that it will take more time if it's for 7.x-3.x.

I've enabled 2.12 in the dev version, feel free to try :)

mgifford’s picture

Great news, thanks!

cesareaugusto’s picture

@biarr I got the same visual error as you. How did you fix it?

Pol’s picture

Update to the new dev version, clear your caches, it should be ok.

cbandes’s picture

Version: 7.x-2.x-dev » 6.x-2.0-beta1

Any chance for support for this in the 6.x versions?

Pol’s picture

Version: 6.x-2.0-beta1 » 7.x-2.x-dev

Probably yes, it's not that difficult, but I mainly focus on 7.x development.

mgifford’s picture

Status: Active » Closed (fixed)

I'm going to mark this closed as it is in D7 dev. If someone wants to work on it for D6 then great, it should be re-opened.