Closed (fixed)
Project:
Openlayers
Version:
6.x-1.x-dev
Component:
OpenLayers Behaviors
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2009 at 22:18 UTC
Updated:
14 Jan 2010 at 01:20 UTC
I have a geospatial data view defined with openlayers style. The data displayed is based on a geo module postgis table. I'm able to select features but the popup returns 'undefined'. Is it possible for the popup to return fields(attributes) from the geo module stored postgis table? Howto?
Regards,
Thomas
Thanks for a great module!
Comments
Comment #1
zzolo commentedI'll assume your undefined means there is no data for that field. Try the view without the OpenLayers plugin and see what it says.
As for the attributes, this is not built into OpenLayers. There might be a chance that you can use Geo's field formatters if they exist. Otherwise, you'll have to write your own formatter for the field.