Adding Esri Vector Basemaps to Basemap Widget in Web AppBuilder

2703
9
Jump to solution
11-08-2016 07:39 AM
ElaineDeLeeuw
New Contributor

I am wondering if it is possible to add Esri vector basemap/tile layer to my Web AppBuilder basemap widget. I am using custom zoom scales and the precached basemaps wont work, however the vector basemaps do. Does the esri vector basemap group make the service url to these basemaps available similar to the default basemaps. For example if I wanted to add the Dark Grey Canvas basemap to the widget I would fill out the dialog box below and use the service url.

http://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Base/MapServer 

However I cant seem to find the service url for the vector tile maps the only url I see exposed is 

https://basemaps.arcgis.com/b2/arcgis/rest/services/World_Basemap/VectorTileServer

but this link isn't accepted by the dialog box. Is there a service url for each vector basemap?

0 Kudos
1 Solution

Accepted Solutions
DerekLaw
Esri Esteemed Contributor

Hi Elaine,

> ... is possible to add Esri vector basemap/tile layer to my Web AppBuilder basemap widget

FYI, the Basemap Gallery widget will support vector tile basemaps in the forthcoming ArcGIS Online update this week.

Hope this helps,

View solution in original post

9 Replies
RobertScheitlin__GISP
MVP Emeritus

Elaine,

   To my knowledge Vector basemaps can not be added to the Basemap Gallery Widget UI in WAB currently.

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Elaine,

> ... is possible to add Esri vector basemap/tile layer to my Web AppBuilder basemap widget

FYI, the Basemap Gallery widget will support vector tile basemaps in the forthcoming ArcGIS Online update this week.

Hope this helps,

BledarBirbo1
Occasional Contributor

Hi Derek.

We are using WebAppbuilder 2.5 Developer edition and i still cannot find a way how to add Vector Basemaps to the Basemap Widget.

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Bledar,

Please see the last post in this GeoNet thread,

WAB Vector tile layers 

> The status of Esri BUG-000106317 - When adding Vector Tile Basemap in Web AppBuilder Basemap Widget an error "This type of layer cannot be used as a basemap." will appear. - that you have been associated with has been changed to Not in Current Product Plan.

Public Explanation: At this time the only supported vector basemaps in the WAB basemap widget are the Esri default basemaps.  If using a custom basemap it must be a raster, not vector, basemap.

Hope this helps,

BledarBirbo1
Occasional Contributor

Hi Derek.

It is still not clear though how to add ESRI Vector Basemaps to the WebAppbulider Widget.

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Bledar,

The Basemap Gallery widget acquires its basemaps from an ArcGIS Online organization's Basemap Gallery property.

Please see help topic: Configure map—ArcGIS Online Help | ArcGIS 

(see step 4)

If you're using Web AppBuilder for ArcGIS Developer Edition, once you sign in and connect to your ArcGIS Online organization - the vector basemaps should be available in the Basemap Gallery widget. Unless you've configured a custom group for the ArcGIS Online organization's Basemap Gallery property.

Hope this helps,

MattReeves
New Contributor III

Morning Derek, 

Is it still the case that: "Public Explanation: At this time the only supported vector basemaps in the WAB basemap widget are the Esri default basemaps.  If using a custom basemap it must be a raster, not vector, basemap."  at WAB Dev version 2.17?

I have our AGOL configured to allow vector basemaps to be used in WAB Dev. However, this only allows for you to add them to an app as "Esri Default Basemaps".  I would like to create a custom basemap configuration where I layer our in-house contour product on top of the vector World Topographic Basemap since the vector version of the World Topographic Basemap does not actually have topo lines.

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Matt,

I haven't worked closely with the Web AppBuilder Dev team in awhile, so I can't comment. Sorry.
Looping in Jianxia Song‌ and Lemao Wu‌ for comments.

Hope this helps,

0 Kudos
WeiYing1
Esri Contributor

Hi @ElaineDeLeeuw ,

Are you able to add this tile layer into map view? You may try create a basemap with this vector layer, and set the basemap gallery property in your organization. This blog may help: https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/custom-basemap-gallery/ 

Once you share/add your base map to the group you set for the Basemap Gallery, you can see it in WAB basemap widget. You may either sync with the basemap gallery setting or customize adding and reordering your target maps. 2020-11-12_14-15-09.jpg

0 Kudos