简单的地图界面来创建地理边界框?
希望有人可以向我指出现有资源,这样我就不必自己创建它。
基本上我需要获得一系列代表日本地理边界框的纬度/经度坐标。数据所用的 API 允许多个边界框,因此我想创建一系列较小的框,覆盖全国约 99.9% 的地区。
我所需要做的就是单击地图来指示盒子的东北角和西南角,但我找不到任何可以完全做到这一点的东西。
我发现的最接近的是这个 http://paulisageek.com/hacku/examples/geoBoundingBoxTabs.html。然而,它不允许多个边界框,但更重要的是不提供计算的纬度/经度,也不提供修改框的能力。
Hoping someone can point me to an existing resource so I don't have to create it myself.
Basically I need to get a series of lat/long coordinates that represent geo bounding boxes for Japan. The API the data is meant for allows multiple bounding boxes, so I want to create a series of smaller boxes that cover's about 99.9% of the country.
All I need to do is click on a map to indicate the north-east and south-west corners of a box, but I have been unable to find anything that quite does this.
The closest I found was this http://paulisageek.com/hacku/examples/geoBoundingBoxTabs.html. However it doesn't allow multiple bounding boxes, but more importantly doesn't provide the lat/longs that were calculated nor the ability to modify the boxes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
中的新绘图工具库看起来并不难
使用 google 地图 api http://code.google.com/apis/maps/documentation/javascript/overlays.html#drawing_tools
您可以在回调事件处理程序中获取坐标。
Doesnt look that hard with the new drawing tools library in the google maps api
http://code.google.com/apis/maps/documentation/javascript/overlays.html#drawing_tools
you get the coordinates, in callback event handlers.