POST
|
Hi and thanks for the reply. Unfortunately, I won't be able to use FeatureLayer because I need to render and display hundreds of thousands of features in (near) future versions of this app. I will add some interesting information that our team uncovered in the meantime. We found that the the renderer was correct and that an image was being exported from the server, but as f: "JSON" instead of f: "image". There was also inconsistency about whether the request was a GET or POST. This error was only occurring when the where clause was included in the request so we suspected it to be a bug in the API. We decided to try some different settings on the server side to see if we could get the correct image response. In the end, we changed the Anti-Aliasing service Parameter from "None" to "Fastest" and the issue seems to have been resolved for now.
... View more
05-18-2017
09:59 AM
|
0
|
0
|
381
|
POST
|
Hi There, I'm using the JS API v.3.20 GenerateRendererTask() and ClassBreaksDefinition() to render classes and allow the user to customize the map data. It works fine for the entire layer, but as soon as I set layer definitions the map does not export properly. The renderer appears to be working because the classes are set correctly in the legend with the correct symbols applied. The strange thing is that if I change to a simpleRenderer, I can render a custom symbol on the map and in the legend. I need it to work with class breaks though. I've been struggling with this for some time now. Here is a link to a js fiddle from a customized esri sample. Uncomment the block at line 103 to see how setting layerDefinitions breaks the map output. Edit fiddle - JSFiddle I also attached the html file. Can anyone explain why the full layer renders properly, but a subset of the layer does not? Myself and entire team have tried multiple variations and are stumped! Thanks!
... View more
05-12-2017
08:28 AM
|
0
|
2
|
1048
|
POST
|
We are still having a problem getting the specified colors to render correctly in the application. With this array of 5 algorithmicColorRamp instances and the number of class breaks set to 5, the first color (dark green) is displayed for both the first class and last class. The last color in the array (burnt orange) never renders and the first color in the array (dark green) is rendered twice (first and last). This is occuring in both my application and the Generate Renderer sample code I copied from your flex API website. Do you have any suggestions about how to fix this issue or update the array to work for the required application? <esri:MultipartColorRamp id="colorRamp"> <esri:colorRamps> <!--dark green--> <esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0x5C8944" toColor="0x5C8944"/> <!--light green--> <esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0x89CD66" toColor="0x89CD66"/> <!--tan--> <esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0xF5CA7A" toColor="0xF5CA7A"/> <!--dark tan--> <esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0xE69800" toColor="0xE69800"/> <!--burnt orange--> <esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0xA87000" toColor="0xA87000"/> </esri:colorRamps> </esri:MultipartColorRamp>
... View more
09-10-2012
10:03 AM
|
0
|
0
|
324
|
POST
|
I'd just like to add a slight addition to Jon's comment in case you are having trouble replicating the problem. You get 6 class breaks when the selector is set to 5.
... View more
08-01-2012
07:40 AM
|
0
|
0
|
324
|
POST
|
Does anyone know the format for the colorRamp array? I am getting type conversion errors on the colorRamp. The 3.0 API documentation doesn't appear to specify the type for the items in the array. I have: <esri:MultipartColorRamp id="colorRamp"> <esri:colorRamps> <fx:Array> <fx:uint>0x5C8944</fx:uint> <fx:uint>0x89CD66</fx:uint> <fx:uint>0xF5CA7A</fx:uint> <fx:uint>0xE69800</fx:uint> <fx:uint>0xA87000</fx:uint> </fx:Array> </esri:colorRamps> </esri:MultipartColorRamp> Thanks!
... View more
07-03-2012
09:49 AM
|
0
|
6
|
2028
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|