Closed (fixed)
Project:
Openlayers
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2010 at 14:46 UTC
Updated:
25 Jul 2010 at 18:00 UTC
There needs to be a way to override or otherwise modify the features returned by function map_features() in openlayers_views_style_data.inc Attached is a patch that does this with a simple theme function. There are probably other ways to accomplish this but this is at least a start to the conversation.
| Comment | File | Size | Author |
|---|---|---|---|
| map_features_theme_function.patch | 2.79 KB | rsoden |
Comments
Comment #1
zzolo commentedHi @rsoden, thanks for the patch. I am curious why this is necessary? The idea is to ensure that Views is producing the features you need. We specifically took this feature out of the 2.x version.
Comment #2
zzolo commentedCorrection, we did not have this in 1.x, but the style array was put through a theme function. My bad.
Comment #3
tmcw commentedCommitted: http://drupal.org/cvs?commit=391232
The reasoning is that the system created with the current openlayers data-getting and storing interface blocks users from doing usual views-alter tricks to bring in other data or modify the data that's there.