Skip to content
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

Unlock a bunch of Leaflet features #31

Open
amotl opened this issue Dec 4, 2019 · 3 comments
Open

Unlock a bunch of Leaflet features #31

amotl opened this issue Dec 4, 2019 · 3 comments

Comments

@amotl
Copy link

amotl commented Dec 4, 2019

@tobiasdirksen asked about unlocking a bunch of features the other day. The Leaflet module already covers all of these options.

  • Add polygons
  • Add polylines
  • Add WMS tiles (Add WMS layer support #29)
  • Add label only markers
  • Add several layers of circle markers, polygons, polylines and WMS [1]
  • Add groups and layers control
  • Add legend to all layers with custom legend text

[1] This could be implemented like the plotly plugin, where the user can add several traces like
image

@xkilian
Copy link

xkilian commented Jun 4, 2020

I get the impression that the baidu worldmap plugin has used this implementation approach, very nice plugin. Adds polygons, polylines and markers in addition to supporting multiple metrics.

@tobiasdirksen
Copy link

@xkilian Is the Baidu plugin implemented in Grafana?

@xkilian
Copy link

xkilian commented Jun 8, 2020

It is a Grafana plugin written in english probably based off of a version of Worldmap at a certain point. Though the GPS portion seems to use a china location offset, so I am not sure if it is usable outside of china. But the utility functions implementing the various leaflet features seem pretty straightforward so it is probably not a huge undertaking to actually backport/port these features to Worldmap.

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

No branches or pull requests

3 participants