Json for geofield field type

Created on 26 December 2019, over 4 years ago
Updated 16 October 2023, 9 months ago

I want to populate a geofield field through Json:api POST request, without success. I've tried some json struct but I didn't find how to do it. These are some attemps I've tried (among others):

"field_geofield": {
  "geom":{
    "lat": 19.314512,
    "lon": -99.112203 
   }
 },  

"field_geofield": {
    "lat": 19.314512,
    "lon": -99.112203 
 },  
πŸ’¬ Support request
Status

Fixed

Version

1.7

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain briantes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024