How to change ObjectSymbol3DLayer icon size based on zoom level

715
2
Jump to solution
12-07-2017 02:32 PM
mingleidi
New Contributor II

Can  ObjectSymbol3DLayer icon size be changed based on zoom level? I tried on this example: 

Flat vs. volumetric 3D symbol layers | ArcGIS API for JavaScript 4.5 

and watch on 
this.view.on("mouse-wheel", (event), but doesn't work

I noticed  IconSymbol3DLayer size is changed automatically when zoom in.

0 Kudos
1 Solution

Accepted Solutions
ThomasSolow
Occasional Contributor III

Here's a sample that does this: JS Bin - Collaborative JavaScript Debugging 

Every time the zoom changes, a new renderer is set in order to keep each cone the same approximate height/width in pixels.

View solution in original post

0 Kudos
2 Replies
ThomasSolow
Occasional Contributor III

Here's a sample that does this: JS Bin - Collaborative JavaScript Debugging 

Every time the zoom changes, a new renderer is set in order to keep each cone the same approximate height/width in pixels.

0 Kudos
mingleidi
New Contributor II

Thanks Thomas, much appreciated.

0 Kudos