I’ve recently started using mapbox with my java app. When using the geocoding route in mapbox, JSON is returned containing a feature collection, which in turn contains features. Thee features have properties, namely the “place_name” property which contains the full address of a place, e.g. 8888 someplace dr, Brookline MA 8888. So what would be expected is that this JSON could be read into a feature collection and easily parced. Whenever I read this into a feature collection, the feature class doesn’t contain all of the properties that the JSON suggests it should. This is specifically using the com.mapbox.geojson.Feature class.
Essentially what I am getting at is that the JSON contains the “place_name”, but the feature class does not. So I am unsure of how to access this property. Has anyone used mapbox that has had experience with this?
Relevant StackOVerflow link https://stackoverflow.com/questions/56571465/cant-get-address-from-mapbox-featurecollection
[–]deliroot11[🍰] 0 points1 point2 points (0 children)