It appears I have hit a limitation in the Arcade Editor and/or JS API. When I drill down to the geometry of a feature in a feature set, vertice information only includes x, y information; m-values are dropped.
//...
var alignmentName = $feature["stationing_alignment"];
//...
//...
var sql = "alignment_name = @alignmentName";
var mapLayerName = "N1205410_Alignments_lrs_DEV";
var outFields = ['alignment_id', 'alignment_name'];
var record_dict = null;
console(' >>> Looking up alignment details...');
var fset = FeatureSetByName($map, mapLayerName, outFields);
var records = Filter(fset, sql);
var cnt = count(records);
console(' >>> Number of Records Found: ' + cnt);
if (cnt > 0) {
for (var f in records) {
// console ( >>> 'Has M': + Geometry(f).hasM)
record_dict = f;
break; // get only the first record
}
} else {
console('>>> No Records found for query ' + sql);
};
var geom = Geometry(record_dict)
console(geom)
//...>> Looking up alignment details...
>>> Number of Records Found: 1
{"spatialReference":{"latestWkid":3857,"wkid":102100},
"paths":[[
[-9237699.298899999,4682788.039800003],[-9237625.7377,4682783.805399999],
[-9237576.0275,4682781.260700002],[-9237573.462399999,4682781.072500005],
[-9237540.4446,4682777.917100005],[-9237517.350399999,4682775.710100003],
[-9237393.996,4682755.3072],[-9237390.0657,4682754.7936],
[-9237343.735199999,4682750.335600004],[-9237299.7948,4682748.250200003],
[-9237183.7731,4682742.742800005],[-9237123.2472,4682741.048],
[-9237117.5243,4682741.168800004],[-9237037.671899999,4682746.786600001],
[-9236988.2461,4682751.907899998],[-9236890.3588,4682769.4789],
[-9236887.1254,4682770.154300004],[-9236861.6932,4682776.223099999],
[-9236855.3237,4682778.132700004],[-9236849.2127,4682780.754200004]...]]}
Additionally, maybe this is across the board. Hitting the feature drops the measures as well... at least in what is returned.
console(Geometry($feature))