From b29728e6c6d9308e2dcbb67eda4a87407564bc22 Mon Sep 17 00:00:00 2001 From: asebert Date: Mon, 11 Aug 2014 11:24:51 +0200 Subject: [PATCH] Force Extent decimal separators --- js/ShareDialog.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/js/ShareDialog.js b/js/ShareDialog.js index 56a21b71..7663ba48 100644 --- a/js/ShareDialog.js +++ b/js/ShareDialog.js @@ -181,13 +181,17 @@ Evented, declare, lang, has, esriNS, _WidgetBase, a11yclick, _TemplatedMixin, on var gExtent = map.geographicExtent; // set extent string urlObject.query.extent = number.format(gExtent.xmin, { - places: 4 + places: 4, + locale:"en_us" }) + "," + number.format(gExtent.ymin, { - places: 4 + places: 4, + locale:"en_us" }) + "," + number.format(gExtent.xmax, { - places: 4 + places: 4, + locale:"en_us" }) + "," + number.format(gExtent.ymax, { - places: 4 + places: 4, + locale:"en_us" }); } else {