panodata-map-panel icon indicating copy to clipboard operation
panodata-map-panel copied to clipboard

Unlock a bunch of Leaflet features

Open amotl opened this issue 5 years ago • 3 comments

@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 (#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

amotl avatar Dec 04 '19 15:12 amotl

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.

xkilian avatar Jun 04 '20 16:06 xkilian

@xkilian Is the Baidu plugin implemented in Grafana?

tobiasdirksen avatar Jun 08 '20 13:06 tobiasdirksen

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.

xkilian avatar Jun 08 '20 14:06 xkilian