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 :-)
Comment | File | Size | Author |
---|---|---|---|
#2 | openlayers-replace_loadURL_references-1765852-3.patch | 2.32 KB | JMC |
Comments
Comment #1
JMC CreditAttribution: JMC commentedComment #2
JMC CreditAttribution: JMC commentedThe 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.
Comment #3
JMC CreditAttribution: JMC commentedComment #4
PolThanks, patch committed.
Comment #5.0
(not verified) CreditAttribution: commentedCorrected references to OpenLayer libraries from 7.12 to 2.12 (can't seem to change the title unfortunately).