Traditional Culture Encyclopedia - Weather inquiry - How to draw the color distribution map of annual precipitation in China with ArcGIS?
How to draw the color distribution map of annual precipitation in China with ArcGIS?
/* Check the layers in the base station by drawing arbitrary polygons by users. There are some layers and surface layers, and you only need to pay attention to the surface layer */
if(geometry.type == "polygon"){
? Var graphicPolygon = new esri. Graphics (geometry, fill symbol);
? base map . graphics . add(graphic polygon);
? var bSUrl = baseStationUrl
? bs URL = bs URL . replace(“{ G }”,“2G”);
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ?
? var query 1 = new ESRI . tasks . query();
? var query task 1 = new ESRI . tasks . query task(bSUrl+"/0 ");
?
? query 1 . geometry = geometry;
? query 1 . spatial relationship = ESRI . tasks . query . spatial _ REL _ CONTAINS;
? //query . text = search text;
? //Filter the fields contained in the result set properties.
? query 1.outFields =), 1);
var fill symbol = new ESRI . symbol . simple fill symbol(
? ESRI . symbol . simplefillmasymbol . style _ SOLID,
? Line symbol,
? New esri. Color ([205,0,205,0.5])
? );
var length 2 = evt 2 . features . length;
for(var I = 0; I < length 2; I++){// Cyclic coloring
? var geometry2 = evt2.features[i]。 Geometry;
? Var graphicPolygon2 = new esri. Geometry2 (fill symbol);
? base map . graphics . add(graphic polygon 2);
}
}
- Previous article:Weather in Lixian county
- Next article:How to wear a sweater when the weather is cold?
- Related articles
- Time is not as important as terrain.
- How to set the weather of iPhone to Celsius?
- Do enterprise retirees in Qing 'an County, Heilongjiang Province have heating subsidies?
- How does Glory v40 set the desktop time and weather?
- Dali Lijiang weather
- I dreamed that the weather forecast said there was a typhoon warning.
- The smog handwritten newspaper is exquisite and beautiful.
- How to get from Satellite Plaza to Jingyue Boxue Road?
- A comprehensive introduction to koalas (koalas)
- Choose left or right to fly to London in the morning.