POST
|
Hi, I am working with ArcGIS Online hosted feature layer, I am trying to change the color and the max,min values of layer renderer (ClassBreaksRenderer) The colors were changed successfully but the max and min value of the breaks didn't change, what is the problem with the code? //Get Feature Layer
layers = arcgisUtils.getLayerList(response);
layer = layers[0].layer;
//Change Colors
layer.renderer.infos[0].symbol.color.r = 255;
layer.renderer.infos[0].symbol.color.g = 0;
layer.renderer.infos[0].symbol.color.b = 0;
layer.renderer.infos[1].symbol.color.r = 0;
layer.renderer.infos[1].symbol.color.g = 0;
layer.renderer.infos[1].symbol.color.b = 255;
//Change breaks max and min
layer.renderer.infos[0].classMaxValue = 200;
layer.renderer.infos[0].maxValue = 200;
layer.renderer.infos[0].minValue = 75;
layer.renderer.infos[1].classMaxValue = 250;
layer.renderer.infos[1].maxValue = 250;
layer.renderer.infos[1].minValue = 200;
//redraw the layer
layer.redraw(); T
... View more
01-18-2016
10:45 AM
|
0
|
0
|
2064
|
POST
|
Hi, Can I create Stream Layer on ArcGIS Online, or I must have ArcGIS for Server with geoevent processor? Thanks.
... View more
12-20-2015
06:13 AM
|
0
|
2
|
3054
|
POST
|
Hi, I am working in GIS and IoT project, where there are sensors sending their data to ArcGIS online hosted feature layer. I created ArcGIS Online user for the integration with the senors, and I shared the web map and the hosted feature layers with this user. Then I created a windows service that is listening to the sensors data, now I want to login programmatically to ArcGIS online (Machine Login) and update the feature layer with the sensors data, how can I do that? Br, Mohamed
... View more
12-20-2015
01:08 AM
|
0
|
1
|
2908
|
POST
|
Thanks Chris. My area is a custom Block layer (Polygon layer) and I need with somehow intersect this layer with demographic data then get the top 10 blocks from the population perspective. I just want to get the names or IDs of the blocks without drawing them on map.
... View more
12-09-2015
07:55 AM
|
0
|
3
|
542
|
POST
|
Hi, How to use demographics data in ArcGIS JavaScript APIs to get the locations with the highest population in a pre-defined area. i.e. I want to get the top 10 locations with the highest population inside New York City Many Thanks.
... View more
12-09-2015
02:38 AM
|
0
|
5
|
3038
|
POST
|
I got a route from a network solve operation and stored it, after while I need to update the ETA for this specific route. The ETA is based on traffic (from the routing service on ArcGIS online)
... View more
12-02-2015
04:54 AM
|
0
|
0
|
330
|
POST
|
Hi, If I already has a route how can I calculate the ETA for this specific route and without generating a new route. Many Thanks.
... View more
12-02-2015
04:36 AM
|
0
|
2
|
2395
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|