HiUsing ESRI Bing geocoder for search address 'United States' the best view returned is :SouthWest.Lon = 177.348754SouthWest.Lat =26.677207NorthEast.Lon = -55.848747NorthEast.Lat = 75.762794When creating points and converting from WGS84 to WebMercator then constructing an Envelope for the Map to ZoomTo(), the map zooms to Europe, Asia & North Africa.When drawing out the coordinates on paper the best view spans the date line (I have tried Geometry.NormalizeCentralMeridian())Here is some sample code...(coordinates have been hardcoded and switched round multiple times in the new Envelope() constructor in an attempt to try and get it to work)
var southWest = Transform.GeographicToWebMercator(new MapPoint(177.348754, 26.677207, new SpatialReference(4326)));
var northEast = Transform.GeographicToWebMercator(new MapPoint(-55.848747, 75.762794, new SpatialReference(4326)));
var envelope = new Envelope(northEast.X, southWest.Y, southWest.X, northEast.Y);
envelope.SpatialReference = new SpatialReference(102100);
SomeMap.ZoomTo(Geometry.NormalizeCentralMeridian(envelope));
am I missing anything obvious?any pointers/help would be much appreciatedChris