Hi,

As a newbye, I had to search several week to bypass a feature that is missing : setting a geofield default value whatever the widget. I use geofield with Leaflet and OSM.
The problem is you set the default value at the widget level, not the geofield level, and Leaflet.widget does'nt propose default values. I had to create another variable, a rule and a module to bypass the problem...
If you choose Leaflet.widget or geocoder, you can't set any default value.
If you choose WKT, GeoJSon, Latitude/Longitude or Bounds, you can.

Would it be possible to set the value of a geofield at the field level better than at the widget level ?
I can help with testing. Tell me.

Comments

itamair’s picture

Status: Active » Closed (outdated)