v2 - Non-directed interstate graphSecond iteration was to pull interstate data from OpenStreetMaps (OSM) and build a non-directed graph of the interstates. First, the app latches you to the closest edge of the graph and then traverses the graph in your current direction of travel via Dijkstra's algorithm to find upcoming exits. When I found an exit, I would do a radial search for POIs.
public RSAParameters ToRsaParameters() = new()
,推荐阅读51吃瓜获取更多信息
Фото: VH-studio / Shutterstock / Fotodom
更多精彩内容,关注钛媒体微信号(ID:taimeiti),或者下载钛媒体App