I tried being very detailed with my problem but instead I got called out for asking for help so Im gonna be very general here.
I need to sum up the values of each location in a polygon drawn on Mapbox. I actually have the code for it that inserts the draw polygon tool and can also draw the polygon on the map and it does sum up the values of each location within that polygon that is displayed on a box on the left side of the map. However, the value is wrong and im not sure why. I am at my wits end with this. Does anyone have any clue with regards to this?
I've been reading other posts on stackoverlow and the general idea I get is that if you have a problem, you can always reach out for help. If you dont want to help me because the manner of which im asking for help or for whatever reason is wrong, that is ok. If you need to see my code, please let me know and no I dont want to be spoonfed, I genuinely want to understand what is wrong with my code and how someone can help me.