LegacyTelogisServiceCreateMarker Method |
Print this page
Create a new marker with the given attributes (location, driver, tag, category, properties, address...).
Namespace: Telogis.API Syntax public 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: SystemString
User-configurable tag for the marker.
- latLon
- Type: Telogis.APILatLon
(required) Geographic center of the marker.
- Item
- Type: Address
- radius
- Type: SystemInt32
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: SystemInt64
ID of the
Category
in which this marker belongs.
- driverId
- Type: SystemInt64
ID of the
Driver
assigned to this marker.
- properties
- Type: Telogis.APIProperty
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