I'm in the process of creating a web application that utilizes the 'Google Map' (JavaScript API).
One of the main functionalities I want to include is the ability for users to draw polygons on the map and have the system calculate the total length of roads within that polygon.
While I've successfully implemented the feature to draw polygons on the map, I am struggling with finding a way to determine the road lengths within those polygons.
Does anyone have any suggestions or resources on how I could achieve this?
My backend is built using 'ASP.Net MVC' and I can easily send the polygon data to the server if doing calculations in C# makes it simpler.