与Google Maps API的computeArea等效的C# [英] C# equivalent of computeArea of Google Maps API

查看:76
本文介绍了与Google Maps API的computeArea等效的C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Maps Api具有 google.maps.geometry.spherical .computeArea 方法. 如何用C#编写等效项? (公式是什么)

Google Maps Api has a google.maps.geometry.spherical.computeArea method. How can I write its equivalent in C#? (What will be the formula)

我有一组经纬度值,需要为它们计算封闭的多边形的面积(以米为单位).

I have a set of lat long values for which I need to calculate area (in meters) of the enclosed polygon.

高度赞赏示例代码.

推荐答案

您尝试了什么?

还有一些非常相似的问题,带有详细的答案,因此最好参考它们:

There are some very similar questions with detailed answers, so it's best to refer to them:

  • Polygon area calculation using Latitude and Longitude generated from Cartesian space and a world file
  • Calculating area enclosed by arbitrary polygon on Earth's surface

这篇关于与Google Maps API的computeArea等效的C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆