Select to view content in your preferred language

Display transparent map with roads only

902
3
09-20-2018 07:58 AM
SapirYiflach
Emerging Contributor

Hello,

I've been playing around with the JavaScript SDK and I'm trying to display a map with the 'streets' basemap but I want anything but the roads to be transparent. Is this possible?

Thanks,

Sapir

Tags (1)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Sapir,

   No the street map basemap is an image you can not pick and choose what you want to see.

0 Kudos
KenBuja
MVP Esteemed Contributor

You can make alterations to the style of the vector basemaps.

Update vector tile layer style—ArcGIS Online Help | ArcGIS 

The documentation links to story maps that describe how to do that

https://www.arcgis.com/apps/Cascade/index.html?appid=a74a8b251f6141fa9561041d36ea56e3 

SapirYiflach
Emerging Contributor

Thank you for the reply!

While this helps customize basemaps and other maps, I couldn't find a way to reference the customized map programmatically in the JavaScript API. Or did I miss something?

TIA,

Sapir

0 Kudos