Closed (fixed)
Project:
Openlayers
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Aug 2012 at 11:49 UTC
Updated:
17 Aug 2012 at 15:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
polComment #2
polI've also noticed that the hook
openlayers_init()is in the moduleopenlayers_ui. Why ?Comment #3
zzolo commentedThe hook implementation is pretty well commented. It's doing two things that are both focused on UI messages.
1) Backwards compatibility checks from the move of Presets to Maps. This can be dropped in the 3.x version.
2) OpenLayers library version check. My method of doing this is pretty stupid; it should just be handled by reading and parsing the library in PHP.
http://drupalcode.org/project/openlayers.git/blob/refs/heads/7.x-2.x:/mo...
Comment #4
polOk thanks for the explanations.
I will rename the hook in openlayers_ui_init() then.
Comment #5
polNew patch with some fixes.
Comment #6
pol