Json for geofield field type

Created on 26 December 2019, almost 5 years ago
Updated 16 October 2023, about 1 year 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.71.5 2024