Skip to content

Commit

Permalink
Changed tooltip formatter for geo_json
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBrandt committed Jan 25, 2017
1 parent f23a445 commit 7924e45
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/ui/public/agg_response/geo_json/_tooltip_formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ export default function TileMapTooltipFormatter($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],
}
];

Expand Down

0 comments on commit 7924e45

Please sign in to comment.