Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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.