javascript - 用谷歌地图绘制饼图

标签 javascript google-maps google-maps-api-3

我的 map 上有三个点,我想根据这些点在上面画一个“馅饼片”,我真的不知道从哪里开始,所以这是我所拥有的信息。

latitude and longitude of the centre of the circle
latitude and longitude of the top left & top right of the slice

我还使用这些详细信息在 map 上绘制了一个圆圈,所以这就是我目前拥有的

what i have

这就是我希望实现的目标

what I need

最佳答案

关于javascript - 用谷歌地图绘制饼图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17085524/

相关文章:

javascript - 111 键指针的类型无效,应为 *,但得到的是字符串

php - 使用 php 向谷歌地图添加静态 1km 网格

android - 比较Android测试中的Google Maps v2屏幕截图

javascript - 未捕获的 RangeError : Invalid array length in Chrome version 36. 0.1985.5 dev -m

javascript - 输出原始数组的反向和连接函数

javascript - 无法使用 javascript 获取表单的值

javascript - 将事件绑定(bind)到fabricJS中的对象

javascript - 谷歌地图默认地形 View

javascript - 将鼠标悬停事件添加到 directionsRenderer Google Maps API v3

javascript - 谷歌地图 v3 热图在页面加载时不显示