Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map.View is not a function #207

Closed
elake2018 opened this issue Jun 21, 2018 · 2 comments
Closed

map.View is not a function #207

elake2018 opened this issue Jun 21, 2018 · 2 comments

Comments

@elake2018
Copy link

Uncaught TypeError: mapView.then is not a function
at (index):188
at K (dojo.js:18)
at dojo.js:19
at E (dojo.js:19)
at ea (dojo.js:19)
at g (dojo.js:21)
at HTMLScriptElement. (dojo.js:23)

I simply copy and pasted the code page "Example" from the home page here. Map showed up with trail or road data whatever the lines are.

@acrateau
Copy link

Change the method from .then to .when. This change was implemented starting with the 4.7 version of the js api.

@alaframboise
Copy link
Contributor

Thanks! fixed #210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants