Select to view content in your preferred language

Can you prevent a TextSymbol from scaling on zoom?

743
1
08-23-2017 03:56 PM
NavanJohnson
Deactivated User

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
Frequent Contributor

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