AnsweredAssumed Answered

LayerDrawingOptions Font Size Set Same As Server Default But Renders Smaller

Question asked by rcoodey on Jan 9, 2014
Latest reply on Mar 27, 2014 by psaravanaa
I am building a dialog to allow the users to change a layers labeling scale, all other LayerDrawingOptions should stay at the defaults. Unfortnatly from what I can tell, there is no way to just change the label's min/max scale without also defining most the other LayerDrawingOptions. Found I could skip resetting the renderer (leave it null) if I also dont reset "Opacity".

First question, is there any easy way to just change the label min/max without having to specify all the other properties?

Since there is not a nice method like CreateDynamicLayerInfosFromLayerInfos() for LayerDrawingOptions I am retrieving all the layer info manually from the servers (JSON).

Second question, is there a built in way to get this info I am not seeing?

I am taking this info to build out a complete LayerDrawingOptions with the defaults from the server, but the Font Size (even though set to the same font settings as the server) gets smaller.

Third question, and most important, is this a bug? Why is it not rendering the same size?

Thanks a lot for any help or info!

Outcomes