OpenStreetMap 로고 OpenStreetMap

obtaining GPS points

mikekenny님이 English로 2009년 12월 19일에 게시함.

Probably a stupid question, but is there a way of using openstreetmap to insert a map into my web page in such a way that when I click on the map the GPS coordinates of the point I clicked are made available to my JavaScript?

이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2009년 12월 19일 13:14wilpin님의 의견

when exporting an area you are given the minlong/maxlong & minlat/maxlat values to calculate all mousemove coordinates within the box.

2009년 12월 19일 13:18chillly님의 의견

If you mean the longitude and latitude of the point then you can do this with OpenLayers. OL is the Javascript that creates a slippy map, there are examples on the OpenLayers website http://www.openlayers.org/

댓글을 남기려면 로그인하세요