Skip to content

Adding leaflet-search plugin - #747

Closed
ghandic wants to merge 4 commits into
python-visualization:masterfrom
ghandic:search-features
Closed

ghandic wants to merge 4 commits into
python-visualization:masterfrom
ghandic:search-features

Conversation

@ghandic

@ghandic ghandic commented Oct 16, 2017 •

Copy link
Copy Markdown
Contributor

First pass awaiting feedback, I have tried to incorperate the simple search method, as I couldnt get their fuzzy search example to work.

The only layer types at the moment are Polygon and Points.

TODO:

  • add Lines, MultiPoint, MultiLines, MultiPolygon types
  • styling options (this may be better done in separate PR after setting a global standard?
  • Tests

First pass awaiting feedback, I have tried to incorperate the simple search method, as I couldnt get their fuzzy search example to work.

The only layer types at the moment are Polygon and Points, I will add Lines in next aswell as styling options.
Comment thread folium/plugins/search.py Outdated
name='Leaflet.Search.css'
)

#figure.header.add_child(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E265 block comment should start with '# '

Comment thread folium/plugins/search.py Outdated
#figure.header.add_child(
# CssLink('https://www.ovrdc.org/apps/assets/ovrdc-css/modern-ui.css'),
# name='modern.ui.search'
#)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E265 block comment should start with '# '

@ghandic ghandic closed this Oct 22, 2017
@ghandic
ghandic deleted the search-features branch October 22, 2017 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants