Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试获取 mapbox 地图上标记的位置,以便在该位置显示 div。
这是我尝试过的代码,但它没有做任何事情:
var a = $(geojson[0].features[1]).offset(); alert(a.top);