Map Highlight Odd/Even Side of Street

烂漫一生 提交于 2020-01-02 17:33:06

问题


I have two coordinates of a street. Either both Odd or Even. So for example 15 ABC Street and 77 ABC Street (with their reverse geocode).

I'm trying to draw a path line that is near the sidewalk.

I used google maps api and did not find a way to do it. The directions api draws a line in the middle of the road, and I cannot find a way to do a geometric translation to either side of the street.

I don't mind using any other API as long as I can solve the problem.

来源:https://stackoverflow.com/questions/33886715/map-highlight-odd-even-side-of-street

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!