mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Call out latitude/longitue in map tooltip (#11718)
This commit is contained in:
parent
d7ce1038e7
commit
99266fca67
1 changed files with 6 additions and 5 deletions
|
@ -26,11 +26,12 @@ export function TileMapTooltipFormatterProvider($compile, $rootScope, Private) {
|
|||
value: metricAgg.fieldFormatter()(value)
|
||||
},
|
||||
{
|
||||
label: 'Center',
|
||||
value: geoFormat.convert({
|
||||
lat: feature.geometry.coordinates[1],
|
||||
lon: feature.geometry.coordinates[0]
|
||||
})
|
||||
label: 'Latitude',
|
||||
value: feature.geometry.coordinates[1]
|
||||
},
|
||||
{
|
||||
label: 'Longitude',
|
||||
value: feature.geometry.coordinates[0]
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue