问题标签 [polymaps]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
11 问题
0
投票
1
回答
33
浏览
javascript - JavaScript Polymaps 库:获取鼠标坐标
我使用 polymaps 库来显示自定义平铺地图。每当用户单击它时,我都需要知道该点的坐标。不是给出的纬度/经度值map.mouse(e)
,而是像素坐标。
这个库是否提供了一个功能来做到这一点?