You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
in the case of a web map, the map is already loaded before entering the map promise's then() function, which creates a handler for the map's load event (which, in this case, never fire).
check if map is loaded (i.e. created from a web map) and call load handler
updated the web map test and example pages as follows:
1) use the map load event to get a handle to the map (instead of
esriRegistry)
2) load the Extent module up front
3) added comments
I also removed the whole hiding/showing the item snippet from the example
to get rid of some of the noise.
fixes#75
in the case of a web map, the map is already loaded before entering the map promise's
then()
function, which creates a handler for the map's load event (which, in this case, never fire).Work on this issue should be done on the new web-map-scope-fixes branch.
The text was updated successfully, but these errors were encountered: