From 28604508434dce55fa3a168093883e63d0659c5c Mon Sep 17 00:00:00 2001 From: Benjamin Gerber Date: Tue, 28 Aug 2018 09:24:55 +0200 Subject: [PATCH] Update doc for number filter --- src/services/filters.js | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/services/filters.js b/src/services/filters.js index 66cf2a077d5d..9124961e9cc5 100644 --- a/src/services/filters.js +++ b/src/services/filters.js @@ -181,27 +181,22 @@ ngeo.module.filter('ngeoUnitPrefix', ngeo.UnitPrefix); /** * Format a couple of numbers as number coordinates. * - * Example without parameters (en-US localization): + * Example without parameters: * *

{{[7.1234, 46.9876] | ngeoNumberCoordinates}}

* * * Example with defined fractionDigits and template (en-US localization): * + * *

{{[7.1234, 46.9876] | ngeoNumberCoordinates:2:'co {x} E; {y} N'}}

* - * - * Example without fractionDigits but with defined template and localize: - * - * - *

{{[2600000, 1600000] | ngeoNumberCoordinates:0:'{x}, {y}'}}

- * *
- * + * *

{{[2600000, 1600000] | ngeoNumberCoordinates:0:'{x}, {y}'}}

- * + * *
- * + * *

{{[2600000, 1600000] | ngeoNumberCoordinates:0:'{x}, {y}'}}

* *