mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
* Geomap: Add dynamic initial view options * Add control options for dynamic initial view * Add handling for last only scope * Remove stale todos * Only reinitialize map view during data if fit * Add options for data fit In map init, remove dependency on layers input. Add a boolean to map view config to handle all layers, with default set to true. Also, add layer string to handle currently selected layer. Change some verbage. In map view editor, add controls for data extent options. Only display layer selection when all layers is not selected. Update layer extent function to handle all options permutations. When all layers is selected, return all data for extent calculation. When last only is selected, only return last data point in matching layer for extent calculation. Otherwise, return all data points in matching layer for extent calculation. * Change padding tooltip and hide for last only * Simplify getLayersExtent call * Add enums for data scope options * Update GeomapPanel for refactor merge * Move view init functions back into geomap class Re-apply data change handling and extent calculation handling. * Update padding tooltip verbage * Ensure geomap panel options layers are initialized * Clean up GeomapPanel file (betterer) * refactors / clean up * more cleanup Co-authored-by: nmarrs <nathanielmarrs@gmail.com> |
||
---|---|---|
.. | ||
components | ||
editor | ||
img | ||
layers | ||
style | ||
utils | ||
event.ts | ||
GeomapOverlay.tsx | ||
GeomapPanel.tsx | ||
GeomapTooltip.tsx | ||
globalStyles.ts | ||
migrations.test.ts | ||
migrations.ts | ||
module.tsx | ||
plugin.json | ||
README.md | ||
types.ts | ||
view.ts |
Geomap Panel - Native Plugin
The Geomap is included with Grafana.