Esri / application-boilerplate-3x-js

Starter application that simplifies the process of building templates for the ArcGIS.com template gallery.
https://developers.arcgis.com/javascript/
Apache License 2.0
90 stars 68 forks source link

Return createMap deferred from startup. #60

Closed kellyhutchins closed 9 years ago

kellyhutchins commented 9 years ago

Return the createMap deferred from main.startup() It is useful to have a the startup() function return a Deferred so that calling code can wait for the webmap to load before adding application-specific functionality to the map.

Issue originated in map tools repo: https://github.com/Esri/map-tools-template/pull/9/commits

driskull commented 9 years ago

6623ad88f4c337dd7e3d10ef244e200f2fa8b128

driskull commented 9 years ago

hey @kellyhutchins this should do it. We can just merge it in when 3.14 releases.

kellyhutchins commented 9 years ago

merged.