Can you prevent a TextSymbol from scaling on zoom?

625
1
08-23-2017 03:56 PM
NavanJohnson
New Contributor II

I am looking at this example, ArcGIS API for JavaScript Sandbox , and I was hoping to use the text editor. However, I notice that the size of the text always adjusts when you zoom in or out. Is there some way to prevent that? What I would want is for the text to behave like all of the other graphics in the example. When you zoom the map, they all stay fixed to the map at the same points. 

Tags (3)
0 Kudos
1 Reply
ThomasSolow
Occasional Contributor III

I don't think this concept is supported by text symbols.  One solution would be to write a function that returns a polygon ring representing a letter.  This wouldn't be difficult to write but it would be time consuming as you'd have to handle creating a ring for each letter you need.

0 Kudos