@trimblemaps/webtools-common
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -61,9 +61,5 @@ (function () { | ||
// initial location of map is based on the region the user is setup for currently. in the future if the user has access to world wide, use the location of the browser possibly? | ||
if (UserProvider.getUser().region === "EU") { | ||
center = mapUtilities.LLtoMerc(8.403, 47.875); | ||
zoom = 5; | ||
} else { | ||
center = mapUtilities.LLtoMerc(-95, 38.5); | ||
zoom = 5; | ||
} | ||
var centerLonLat = mapUtilities.getCenterLonLatFromRegion(UserProvider.getUser().region); | ||
center = mapUtilities.LLtoMerc(centerLonLat.lon, centerLonLat.lat); | ||
zoom = centerLonLat.zoom; | ||
@@ -70,0 +66,0 @@ // if there is no saved info, and we had to fallback to just a default lat/lon for a region, |
{ | ||
"name": "@trimblemaps/webtools-common", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
4276949
72752