So, I can successfully log into my AGO account and setup the GIS that way. I can find information about my account etc. I can query web map content from the API as well and display the results. I can even map the result of the query gis.map(search_result) and see the web map as it should be displayed.
But I cannot map specific web maps by their name.
map = gis.map('MyOffices')
map
A map appears but only the basemap appears, not the web map content.
Any thoughts on this?
Solved! Go to Solution.
gis.map() does not accept webmap names. You need to pass in a web map item, or the name of a location that it geocodes and uses for it's initial extent.
gis.map() does not accept webmap names. You need to pass in a web map item, or the name of a location that it geocodes and uses for it's initial extent.
I see...that makes sense now, thanks!