Category Class |
Namespace: Telogis.API
The Category type exposes the following members.
Name | Description | |
---|---|---|
![]() | ID | |
![]() | Properties | |
![]() | Tag |
Name | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | ID |
Unique ID for this category
| |||||||||||||||||||||
![]() | Properties |
| |||||||||||||||||||||
![]() | Tag |
User-defined tag that may be used to search for categories
|
Use the FindCategories(String, Property) method to filter Category objects based on their Tag and Properties . Alternatively, use the ListCategories(Int32, Int32) method to list all available categories.
Service service = new Service(); // ... YOUDO: set service URL and authenticate ... Property vehicle_van = new Property("vehicle", "van"); Property tools_spanner = new Property("tools", "spanner"); long myCategoryID = service.CreateCategory("Electricians", new Property[] { vehicle_van, tools_spanner }); // ... YOUDO: create a marker ... // now, we can add the marker to our category service.AddMarkerToCategory(myCategoryID, myMarkerID);