Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

load event does not fire when using a web map #75

Closed
tomwayson opened this issue Aug 31, 2015 · 0 comments · Fixed by #76
Closed

load event does not fire when using a web map #75

tomwayson opened this issue Aug 31, 2015 · 0 comments · Fixed by #76
Assignees
Labels
Milestone

Comments

@tomwayson
Copy link
Member

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.

@tomwayson tomwayson added the bug label Aug 31, 2015
@tomwayson tomwayson added this to the Beta 4 milestone Aug 31, 2015
tomwayson added a commit that referenced this issue Sep 2, 2015
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
@tomwayson tomwayson self-assigned this Sep 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant