LegacyTelogisService.CreateMarker Method |
Print this page
Create a new marker with the given attributes (location, driver, tag, category, properties, address...).
Namespace: Telogis.API
Syntaxpublic long CreateMarker(
string tag,
LatLon latLon,
Address Item,
int radius,
long categoryId,
long driverId,
Property[] properties
)
Public Function CreateMarker (
tag As String,
latLon As LatLon,
Item As Address,
radius As Integer,
categoryId As Long,
driverId As Long,
properties As Property()
) As Long
Parameters
- tag
- Type: System.String
User-configurable tag for the marker.
- latLon
- Type: Telogis.API.LatLon
(required) Geographic center of the marker.
- Item
- Type: Address
- radius
- Type: System.Int32
Describes the size of the marker. For a depot that is 400 ft at its widest
point, you should set this value to approximately 200 ft to ensure that all units parked inside
the depot are reported as being at the depot.
- categoryId
- Type: System.Int64
ID of the
Category
in which this marker belongs.
- driverId
- Type: System.Int64
ID of the
Driver
assigned to this marker.
- properties
- Type:Telogis.API.Property[]
User-configurable properties describing this marker. See
Properties
for a list of property values that are recognized by Verizon Connect Fleet.
Return Value
Type:
Int64
The ID of the created Marker.
See Also