Bower and 3.16 build / vector-tile.js

1257
2
03-18-2016 08:28 AM
TonyGeorges1
New Contributor III

Hi,

I use bower build for some project, and since 3.15 the new vector tile process is using Map Box vector tile project inside ArcGIS API, its located in layers/vector-tile.js.

When I try to integrate this resource in my build, I have a dojo build error :

Missing include module for layer missing: js/layers/vector-tile.js  layer: dojo/dojo

Maybe some mapbox-gl prefix are not bound or something like that. Did someone experience that ?

0 Kudos
2 Replies
DavidLevesque
New Contributor

Have you ever found a solution for this?

We're currently having the exact same issue while migrating from 3.15 to 3.17, and judging by what i found (or didn't find...) on the whole Internet, it seems like we're the only ones having this issue...

If you have any updates, please share 🙂

0 Kudos
TonyGeorges1
New Contributor III

Hi David,

Sorry to reply so late, there is 2 options : 

1- tell dojo build system to not include vector-tile

2- build a separate layer (as esri does in 3.18)

The best option is definitely to upgrade to 3.18 and use the last update of jsapi-resources via github

Tony

0 Kudos