python-visualization / python-visualization/folium

Display (walking) direction/route to a custom markers

未关闭
#1,372 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

plugin
主要语言
Python
星标
7.4k
派生
2.3k
平均合并
17 小时 22 分钟
30 天内合并 PR
11

描述

Is your feature request related to a problem? Please describe.

I'm working on creating a map which has ability to show current location (already done using LocateControl plugin) and has custom markers. I would like to be able to show (walking) route to custom markers from my current location.

Going through bug reports, I found similar request in #484, but in my case it's definitely not solved as part of #669

Describe the solution you'd like

I would like to be able to use plugins such as:

as pointed on Leaflet Routing plugins list

Describe alternatives you've considered

From my current research alternative would be to use different library/backend with Google Maps, but unfortunately there isn't a lot of information on this either.

Additional context

Functionality I would like to achieve
Alt text

Implementation
folium is maintained by volunteers. Can you help make a PR if we want to implement this feature?

If the time allows yes.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

查看相关 issue #484 和 #669,然后调查请求中链接的 Leaflet Routing Machine 和 Leaflet.Routing 插件。定义如何将当前位置和自定义标记连接到步行路线,包括 folium 与 Leaflet 之间的集成边界;当用户可以显示到所选自定义标记的该路线时,此功能即完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, python
领域
data-visualization, frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。