Select to view content in your preferred language

How to get a response in json instead of geojson

478
0
10-19-2023 04:01 AM
neosonwei
New Contributor

Hi Community,

 

Currently, i'm trying to calling the javascript below to get a response in json format. However, it is response with format on Geojson. Is there a way i can set to return in Json format?

 

Where can i check the setting to convert the response to Json instead of Geojson? 

L.esri.query.token(authToken).where(dbQuery).run(function (err, featureCollection, response)

L.esri.Query | Esri Leaflet | ArcGIS Developers

Tags (3)
0 Kudos
0 Replies