Uh oh!
There was an error while loading. Please reload this page.
Leaflet support, based on PR #152 - #728
Conversation
eddies
commented
Mar 1, 2016
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. |
randerzander
commented
Mar 6, 2016
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? |
eddies
commented
Mar 7, 2016
@randerzander I spent a chunk of time last week playing w/ geojson support with pretty mixed results. |
randerzander
commented
Mar 7, 2016
@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. |
corneadoug
commented
Mar 7, 2016
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) |
eddies
commented
Mar 7, 2016
@corneadoug thank you for offering to look into the CI failure. I just successfully re-ran |
eddies
commented
Mar 7, 2016
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.... |
Madhuka
commented
Mar 8, 2016
randerzander
commented
Sep 25, 2016
@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#83close#86close#125close#133close#139close#146close#193close#203close#246close#262close#264close#273close#291close#299close#320close#347close#389close#413close#423close#543close#560close#658close#670close#728close#765close#777close#782close#783close#812close#822close#841close#843close#878close#884close#918close#989close#1076close#1135close#1187close#1231close#1304close#1316close#1361close#1385close#1390close#1414close#1422close#1425close#1447close#1458close#1466close#1485close#1492close#1495close#1497close#1536close#1545close#1561close#1577close#1600close#1603close#1678close#1695close#1739close#1748close#1765close#1767close#1776close#1783close#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: