Does VectorTileLayer support Signed Distance Field (SDF) sprites?

140
0
03-11-2020 11:50 PM
AlexanderParshin
New Contributor II

I'd like to use SDF sprites to dynamically change symbol color of point data. I generated SDF sprites, which work fine with MapboxGL JS library, but they don't work with ArcGIS JS API (v4.14 and "next").

Here are the examples with the same SDF sprite (the sprite itself is not mine):

  1. MapboxGL JS: mapbox-simple-map-sdf-sprite - StackBlitz
  2. ArcGIS JS API: https://codepen.io/parshin/pen/rNVJoVN?editable=true&editors=100

(The examples work only with browser's zoom <= 100%)

With MapboxGL JS I see the red icon, but ArcGIS JS API renders red rectangles. What can be the reason for this difference?

0 Kudos
0 Replies