I upgraded to 7.x-2.0-beta1+76-dev, it recommended using the 2.12 version of the OL libraries so I moved to that and encountered 2 problems. Apologies if they aren't related to each other and should have been logged as two separate issues...

To confirm and narrow down the problems I used a blank Drupal installation with only the basics needed for OL and I could reproduce the following problems:

1) I found that when I create a KML layer it seems to save the data to the database (checked in the DB directly) but when I attempt to edit the layer properties the URL is blank. The same happened with a GeoJSON layer; everything other than the title and description was shown as empty despite their values being stored in the DB.

2) Using the old OL libraries (2.11) I found that these layers still appear as normal on a map, but when I use OL 2.12 the KML layers failed (the whole map appears as a white canvas). To rule out a problem with my KML file I tried using the "sundials" example kml file (referenced here: http://dev.openlayers.org/releases/OpenLayers-2.12/examples/sundials.html); and it had the same problem (fine with 2.11, causes the whole map to fail in 2.12).

Hope this is enough info to indicate what the problems are...
BTW; great module - keep up the good work :-)

Files: 
CommentFileSizeAuthor
#2 openlayers-replace_loadURL_references-1765852-3.patch2.32 KBJMC
PASSED: [[SimpleTest]]: [MySQL] 238 pass(es).
[ View ]

Comments

Title:KML/GeoJSON Layer properties not editable/viewable and KML layers not working with OL-7.12 librariesKML/GeoJSON Layer properties not editable/viewable and KML layers not working with OL-2.12 libraries

Status:Active» Patch (to be ported)
StatusFileSize
new2.32 KB
PASSED: [[SimpleTest]]: [MySQL] 238 pass(es).
[ View ]

The first problem listed above now seems to be fixed in the latest dev release.

I found the second problem raised here http://drupal.org/node/1801228, and Adysone pointed out the problem - so I've created a patch which seems to fix this issue.

This is my first patch so apologies if the format etc is wrong - just let me know.

Status:Patch (to be ported)» Needs review

Status:Needs review» Fixed

Thanks, patch committed.

Status:Fixed» Closed (fixed)

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

Issue summary:View changes

Corrected references to OpenLayer libraries from 7.12 to 2.12 (can't seem to change the title unfortunately).