new SuperMap.FindLocationParameters(options)
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
expectedSupplyCenterCountnumber
-
The resources supply centers amounts which are expected to be used for the final facilities locations. Required.
When the input value is 0, the resources supply centers amount of the final facilities locations is default to be the least needed supply centers number that covers the analysis area.- Default Value: 1
isFromCenterboolean
Whether allocates the resources from the center points. Because the edge sections in the network data have the positive and negative impedances, i.e. the positive impedance value of the edge section may not be equal to its negative impedance value, the obtained analysis results ways of the allocation resources got from the resources supply center to the demand point and from the demand point to the resources supply center may be different from each other.
supplyCentersArray.<SuperMap.SupplyCenter>
The set of the resources supply centers. Required. The resources supply centers are the facilities that supply the resources and services. According to the network nodes, the related information of the resources supply centers includes the resources amount, the maximum impedance value, the resources supply centers types, the nodes ID of resources supply centers in the network, etc. This information can be used during the process of the location-allocation analysis.
turnWeightFieldstring
The name of the turn weight field.
weightNamestring
The name of the turn weight field, identifies the resistance field used when the network analysis is conducted.
Methods
-
destroy()
FindLocationParameters.js, line 58 -
Disposes the resource. The property that references resource is set to null.