Closed (fixed)
Project:
Openlayers
Version:
6.x-2.x-dev
Component:
OpenLayers Behaviors
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2009 at 01:18 UTC
Updated:
22 Feb 2010 at 16:50 UTC
See: #589490: 2.x: Change Behavior Architecture to use CTools Plugins
* I moved over the advanced behaviors (openlayers_behaviors module) from the 0.x branch so those should be working. Though need testing.
* They need to be reviewed as well
* Also, the other ones that 0.x does not address need to be converted.
Comments
Comment #1
tmcw commentedI'm finding a lot of cases where these behaviors need a rewrite as well as porting from 1 to 2. Fullscreen was just committed in a much-simplified form.
http://drupal.org/cvs?commit=323372
http://drupal.org/cvs?commit=323374
Comment #2
tmcw commentedPopup behavior is ported in an initial state.
http://drupal.org/cvs?commit=323792
Comment #3
tmcw commentedAnother port: zoomToLayer
http://drupal.org/cvs?commit=323808
Works decently well, but no per-layer settings yet; I'm going to add that to a bunch of layers when I figure out how it should work.
Comment #4
tmcw commentedAnd an admittedly oversimplified tooltip behavior
http://drupal.org/cvs?commit=323842
Comment #5
tmcw commentedLeft behind currently are cluster and unclutter. Both of these need a little love, and I kind of have the feeling that unclutter should be left behind, replaced with a better implementation of paged popups.
Comment #6
phayes commentedI agree re: cluster and unclutter. I'll adopt them into a separate module.
Comment #7
skov commentedIs Behaviors ready to roll into dev for testing? I would like to test and provide some feedback.
Comment #8
tmcw commentedThe work is in the development release of 2.x, yes - and it's working in the limited way it attempts currently, although there are, of course, features and bugfixes to be added.
Comment #9
skov commentedJust downloaded 2.x version (Feb 5) and "openlayers_behaviours" directory and files do not exist in "openlayers\modules\"
Looking at CVS, "openlayers_behaviours.module" (and related files) was removed Feb 3.
http://drupalcode.org/viewvc/drupal/contributions/modules/openlayers/mod...
Comment #10
tmcw commentedThe behaviors previously in openlayers_behaviors are now in OpenLayers itself. It was confusing to have them in a separate module when they didn't weigh anything down and you'd want to enable them anyway.
Comment #11
skov commentedOpenLayers CCK still has dependency on "openlayers_behaviours"
i.e.
OpenLayers CCK 6.x-2.x-dev Provides CCK fields and widgets through an OpenLayers interface.
Depends on: OpenLayers (enabled), Openlayers_behaviors (missing), Content (enabled), Chaos tools (enabled)
Comment #12
tmcw commentedGood catch. Patched.
Comment #13
tmcw commentedSo the openlayers_behavior port is finished, open tickets for bugs and tweaks.