Base Type: NAServerLocations
A class that specifies the feature layer in the associated map service to load as network locations into an input network analysis class.
Property |
Type |
Description |
DataLayerName |
string |
The name of a data layer in the associate map service to load as network locations. |
QueryFilter |
The QueryFilter or SpatialFilter used to constrain the input features. |
Remarks
At a minimum, the data layer specified needs
a shape field with the correct geometry type or network location fields.
If the layer has network location fields "SourceID"
(int), "SourceOID" (int), "PosAlong" (double), and
"SideOfEdge" (int) the values in these fields will specify the
position on the network rather than performing a spatial search to determine
the network location.
Any other fields in this layer can be used
to populate values on the network analysis class. What
input fields link to fields on the network analysis class is a function
of the NAClassCandidateFieldMaps
property on the NAServerSolverParams
object.