Call out latitude/longitue in map tooltip (#11718)

This commit is contained in:
JacobBrandt 2017-05-12 10:04:01 -06:00 committed by Thomas Neirynck
parent d7ce1038e7
commit 99266fca67

View file

@ -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]
}
];