-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Leaflet support, based on PR #152 #728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
FYI, 18b4f55 is failing CI with the following: Unfortunately, leaflet.heat does not support bower (the maintainer has steadfastly rejected any pull requests to include a bower.json). So I explicitly added the git url. But it looks like the host resolution on Travis is unhappy with the address it's getting for github.com. |
|
this looks awesome. maps/heatmaps are one of the most asked for features whenever I demo Zeppelin. With this as a base, how difficult would it be to also include geojson, or have query results auto-translated into geojson map features? |
|
@randerzander I spent a chunk of time last week playing w/ geojson support with pretty mixed results. |
|
@corneadoug not sure about status of #152 , but this PR adds significant additional functionality (heatmaps). since this PR is based on @Madhuka's work, perhaps both he and @eddies can be given credit for it, if they're both agreeable to that approach? The CI failure looks unrelated to the changes in this PR. Who can help resolve them and get these features moving? Personally I would like to begin working on adding geojson and more geo features, but need one of either this PR, or #152 to be completed first. |
|
I can take a look at the CI failure. I think the heatmap is a nice addition to the basic map. Maybe it could be toggled as an option instead of a different visualization button (just like the options in line chart) |
|
@corneadoug thank you for offering to look into the CI failure. I just successfully re-ran |
I agree. In fact, what I really would want to see is an implementation of graphOptions (I think that would be the right place) that would, at a minimum, let the user select the lat/lon columns rather than the hard-coded column index assumptions. But I figured we could call that a future enhancement request, rather than let this (or the original PR) languish any longer.... |
|
@eddies what CSS tricks did you have to do to get GeoJson to work with Leaflet in Zeppelin? I'm trying to follow the simple example here http://leafletjs.com/examples/geojson.html . It works in a standalone webpage, but the polygons never show in Zeppelin. Any help would be much appreciated! |
close #83 close #86 close #125 close #133 close #139 close #146 close #193 close #203 close #246 close #262 close #264 close #273 close #291 close #299 close #320 close #347 close #389 close #413 close #423 close #543 close #560 close #658 close #670 close #728 close #765 close #777 close #782 close #783 close #812 close #822 close #841 close #843 close #878 close #884 close #918 close #989 close #1076 close #1135 close #1187 close #1231 close #1304 close #1316 close #1361 close #1385 close #1390 close #1414 close #1422 close #1425 close #1447 close #1458 close #1466 close #1485 close #1492 close #1495 close #1497 close #1536 close #1545 close #1561 close #1577 close #1600 close #1603 close #1678 close #1695 close #1739 close #1748 close #1765 close #1767 close #1776 close #1783 close #1799
What is this PR for?
An update/follow-on for PR 152 that is limited to Leaflet support. There doesn't appear to have been any new movement on PR 152 since August 2015, so this PR updates @Madhuka's work against master, but without any of the data validation or other non-Leaflet work.
What type of PR is it?
Feature
Todos
N/A
Is there a relevant Jira issue?
ZEPPELIN-157
How should this be tested?
Recreate @Madhuka's example, e.g. use the following to populate a cell:
https://gist.github.com/eddies/f20241e161aa2bbbb788
Then, in a new cell
There should a new chart selector rightmost that will render the data w/ leaflet. You may need to clean your browser cache initially.
Screenshots (if appropriate)
Also see Madhuka's original PR: #152
Questions: