presentations/highlight-js/test/markup/arcade/profile.txt

10 lines
377 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
/*
Isolated test for the most recent version
*/
function offsetPopulation(offset){
var popDensity = Round( $feature.POPULATION / AreaGeodetic(Geometry($feature), "square-kilometers") );
var geom = Geometry({ 'x': offset.x, 'y': offset.y, 'spatialReference':{'wkid':102100} });
var myLayer = FeatureSet($map, ["POPULATION", "ELECTION-DATA"]);
return popDensity;
}