<map initialextent="-14083000 3139000 -10879000 5458000" top="40" zoomslidervisible="false" addarcgisbasemaps="true" wraparound180="true"> <basemaps> <layer label="Streets" type="tiled" visible="true" alpha="1" icon="assets/images/basemap_streets.jpg" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> </basemaps>
Lefteris, Sounds like you need to check that the assets for the streets thumbnail does exist in your projectassets/images/basemap_streets.jpg
Dan, Sure the method is when you use the addarcgisbasemaps="true" attribute in the map tag it will append available basemaps from the ArcGIS Portal to your map (meaning if you have manually add a particular base map than it will be the first on that is loaded and visible and all the remaining basemaps for the portal will be added after that one).Example: <map initialextent="-14083000 3139000 -10879000 5458000" top="40" zoomslidervisible="false" addarcgisbasemaps="true" wraparound180="true"> <basemaps> <layer label="Streets" type="tiled" visible="true" alpha="1" icon="assets/images/basemap_streets.jpg" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> </basemaps>Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).Follow the steps as shown in the below graphic:
<map wraparound180="true" initialextent="-14083000 3139000 -10879000 5458000" fullextent="-20000000 -20000000 20000000 20000000" top="40" addarcgisbasemaps="true"> <basemaps> <layer label="Imagery with Labels" type="tiled" visible="true" alpha="1" icon="http://www.arcgis.com/sharing/content/items/716b600dbbac433faa4bec9220c76b3a/info/thumbnail/imagery_with_labels_ne_usa.png" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/> <layer label="Imagery with Labels" type="tiled" visible="true" alpha="1" icon="http://www.arcgis.com/sharing/content/items/716b600dbbac433faa4bec9220c76b3a/info/thumbnail/imagery_with_labels_ne_usa.png" url="http://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer"/> </basemaps>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.