最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

openstreetmap - OSM route to target from IP location - Stack Overflow

programmeradmin3浏览0评论

Google Maps has the function that allows a link to take the user's IP's location and have the map look up routes to a specified target location (e.g. +Location/23.794722,86.237778)

I was wondering if Open Street Maps has a similar functionality. All I can find is linking to the target but not the route from a random location.

Google Maps has the function that allows a link to take the user's IP's location and have the map look up routes to a specified target location (e.g. https://www.google/maps/dir/Current+Location/23.794722,86.237778)

I was wondering if Open Street Maps has a similar functionality. All I can find is linking to the target but not the route from a random location.

Share Improve this question asked Mar 6 at 17:46 MichkovMichkov 233 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Obtaining locations for IP addresses is outside the scope of OpenStreetMap. You have to use a different service for this task.

Afterwards, as soon as you have the location, you can use one of the many different OpenStreetMap-based online routers. Make sure to read their individual usage policies first. Alternatively you can also run your own OSM-based routing engine.

发布评论

评论列表(0)

  1. 暂无评论