This message was deleted.
# help
s
This message was deleted.
βœ… 2
πŸš€ 1
a
... Looks like I am just not quite getting
proj4
to iterate through my coordinates....
ugh.. will have to put this aside for awhile. seems so close and still so outta reach! πŸ—ΊοΈ feels like i must be making a novice mistake since passing in the coordinates works
I was definitely going about it incorrectly. All I had to do was ask the server to respond in the projection I wanted:
Copy code
layer_details = arcgisRestFeatureLayer.queryFeatures({
  url: '<https://corsproxy.io/?>' + encodeURIComponent('<https://services9.arcgis.com/weJ1QsnbMYJlCHdG/ArcGIS/rest/services/>' + "Country_Polygons" + '/FeatureServer/0'),
  outSR: '4326', // WGS 1984
});
πŸŽ‰ 2