The Esri User Conference (Esri UC), July 10-14, 2017 in San Diego, California is the biggest GIS event globally. It attracts 16,000+ GIS users, managers and developers and includes 1000+ moderated sessions, 450+ hours of training, and 300+ innovative software … Continue reading
Ever since the California Gold Rush, entrepreneurs have flocked to San Francisco to strike gold. Merchants, shipbuilders, bankers, and tech companies have all staked their claim in the City by the Bay. The latest entrepreneurs, a slew of startups born … Continue reading
The Esri Emerging Business Group (aka ‘startup program’) is back from the annual 2015 Esri Partner Conference (EPC) and Developer Summit (DevSummit) in Palm Springs, California. These are two events held at the same location that overlap by one day. … Continue reading
By default, the map control will not render until all layers have initialized. This process ensures that the map will startup at the full extent of all layers and use the preferred spatial reference discovered at runtime. However, if you have many layers in your map or if one layer takes a while to initialize, users may have wait a significant amount of time to see the first map. To improve startup time simply define the initial extent and spatial reference. Then the map will not need to discover this information at runtime and as a result individual layers will start loading as soon as they initialize.
You can define the startup extent in your page as follows:
<esri:Map> <esri:Map.Extent> <esriGeometry:Envelope XMin="-180" YMin="-90" XMax="180" YMax="90" > <esriGeometry:Envelope.SpatialReference> <esriGeometry:SpatialReference WKID="4326"/> </esriGeometry:Envelope.SpatialReference> </esriGeometry:Envelope> </esri:Map.Extent> ... </esri:Map>
If you have multiple tiled layers in your map, make sure their spatial reference matches the one defined for the initial extent or they will not render. Also see the interactive SDK sample for an example of this in action.
Senior Software Engineer
ArcGIS Server.NET, Silverlight/WPF, MapIt