I Can´t make Openlayers to display info from geofield.

I have a polygon in my geofield, but nothing is displayed in the map.

My geofield output config is formatter WKT (Full geometry)
My Openlayers Data Ovrelay is set to WKT.

Anyone has it working?

Comments

phayes’s picture

Are you running both the dev version of openlayers and the dev version of views?

jpsolero’s picture

Yes.

Last Dev version of views, ctools, openlayers and geofield.

phayes’s picture

Assigned: Unassigned » phayes

OK thanks, I'll look into it

phayes’s picture

Status: Active » Postponed (maintainer needs more info)

I can't replicate this. It is working fine on a clean Drupal install using default options.

Can you get WKT or lat / lon to display on your node page?

I have a bunch of questions about your view, perhaps you could export it and post it here so I can take a look?

jpsolero’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Ok, I've found the problem the Default style of the preset was set to airport and this made the polygons dissapear (Wich I guess is normal)

I've selected the Default Style for the Default Style and now it works.

Hope this helps to anyone fighting with this same issue.

Thanks for the help and keep up the good work!