Click or drag to resize
LegacyTelogisServiceCreateMarker2 Method
Print this page
Create a new marker with the given attributes (location, driver, tag, category, properties, address...).

Namespace: Telogis.API
 
Syntax
public long CreateMarker2(
	string tag,
	LatLon latLon,
	Address2 address,
	int radius,
	long categoryId,
	long driverId,
	Property[] properties
)

Parameters

tag
Type: SystemString
User-configurable tag for the marker.
latLon
Type: Telogis.APILatLon
Geographic center of the marker.
address
Type: Telogis.APIAddress2
The street address of the marker.
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. Use 0 to not assign this marker to a driver.
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.
Remarks
See Also