Add Vector Tile Layers in Web AppBuilder Dev Edition

980
3
02-13-2017 03:29 PM
AdamVellutini
New Contributor III

Hello,

I am attempting to add a Vector Tile Layer to an application using the Developer's Edition of Web AppBuilder.  I cannot add it to my ArcGIS Online webmap because I am using custom Level of Details.  Can I add a VTL to my application as it loads?  Has anyone done this?  I'm having a hard time finding where or how to do that.

Thanks in advance,

Adam

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Adam,

   I have never tried personally, but the place to do this would be in the MapManager.js. I would look at adding the layer in the _show2DWebMap function in the:

mapDeferred.then(lang.hitch(this, function(response) {

section.

0 Kudos
AdamVellutini
New Contributor III

Robert,

Thank you, I will give that a shot and see what I can do.  Ultimately I would like to add it to the LayerList widget.  In doing so, I assume I would still add it in the MapManager.js.


Thanks,

Adam

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Yep

0 Kudos