mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 01:23:32 -06:00
Fix for mercator->orthographic changes
This commit is contained in:
parent
62de4a4901
commit
260cf9ee0e
@ -349,6 +349,13 @@ angular.module('kibana.map2', [])
|
||||
var path = d3.geo.path()
|
||||
.projection(scope.projection);
|
||||
|
||||
|
||||
//Special fix for when the user changes from mercator -> orthographic
|
||||
//The globe won't redraw automatically, we need to force it
|
||||
if (scope.panel.display.data.type === 'orthographic') {
|
||||
scope.svg.selectAll("path").attr("d", path);
|
||||
}
|
||||
|
||||
console.log(scope.data);
|
||||
|
||||
//Geocoded points are decoded into lonlat
|
||||
|
Loading…
Reference in New Issue
Block a user