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.
I've never loaded a custom basemap in that way, but it looks valid based on the example in the JSAPI docs.
Are you working off of one of the test pages, or off of pages in the docs site? Right now there's a bug in the docs, see #38. If you're working there, try in one of the test pages - they are served by gulp at the site root level, so http://localhost:9002/simple-map.html
LMK if that was the issue.
If not, you might try using the exact "delorme" URLs from the example in the JSAPI docs.
How would I modify this to use our own basemap? I have tried the following, but it results in an error:
"Uncaught TypeError: Cannot read property 'query' of null"
I have modified the esriMap directive as follows just to try forcing it to the new basemap:
Inside the controller, I have the following code:
And then further down where the basemap is set, I have the following:
This is based off the example using the basemaps select box, and info from the following URL:
https://developers.arcgis.com/javascript/jsapi/esri.basemaps-amd.html
I'm relatively new to angular so I could be doing something wrong that is quite simple. Thank you for any help you can provide.
The text was updated successfully, but these errors were encountered: