Closed (fixed)
Project:
Openlayers
Version:
6.x-2.x-dev
Component:
OpenLayers Layers
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2009 at 18:39 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent
Comments
Comment #1
zzolo commentedComment #2
phayes commentedComment #3
zzolo commentedComment #4
zzolo commentedThis needs to be thought about more in detail. There needs to be a way to have specific form items for creating layers for each type of layer. Layers are now ctools plugins, but the idea of Types/Handlers Layers is not addressed.
Comment #5
zzolo commentedAlso, the layer handling in the UI needs to change a fair amount. Right now, it is just a form to add a specific kind of layer.
Comment #6
tmcw commentedI'm going to be pushing a big commit to the 0.x branch with an ctools-plugins-powered version of layer types, which will let layer types provide options forms and generate exportable layers.
Comment #7
phayes commentedThat sounds awesome.
We should have a discussion soon about which FAPI we will be using in 2.x . I am personally in favour of the ctools fapi since it seems to provide better functionality multi-step, dynamic type forms. I know zzolo has a different opionion. This is a good conversation to have know, as the FAPI for layers, layer-types, behaviors, presets is going to be an important part of 2.x
Comment #8
zzolo commentedDo I? :)
I am torn on the subject. I am not a big fan of dependencies (in Drupal). And though we are already depending on CTools, I think there is a much better chance of having the plugin stuff into core, later on, than the FAPI changes. But all that is so far away, anyway.
I also don't know much about the CTools FAPI and what the real benefits are. Overall, I would say, if it makes sense and has some real benefit, then go for it. It would be nice to hear about the benefits, but I guess I'll take a look one day.
Comment #9
tmcw commentedI'm not sure about the direction of the form api discussion - the ctools module provides functionality for multi-step forms, of which we have.. maybe one? I'm pretty sure that that omission from the Drupal form API is the reason why ctools provides an extension, and that it has no aspirations to be a replacement for the core drupal functions. That said, there's no big reason (besides... api instability perhaps) not to use the ctools form api enhancements when they make sense.
Comment #10
tmcw commentedThe commit is made for layer forms, let's make detailed issues based on that for further work.