Syntax 

int PCMSAddCustomPlace(PCMServerID serv, const char *name, const char *location)


Parameters 

PCMServerID serv – The PC*MILER server ID.

const char *name – A user-specified custom name. 

const char *location – Actual location in the PC*MILER database. Can be any format that PC*MILER recognizes (city/state, postal code, address, latitude/longitude, etc.)


Description

Assigns a custom place name to a PC*MILER location and adds it to the PC*MILER database. Once added, the custom place name can be used as a stop on a trip. This is the functional equivalent of the custom place feature in the PC*MILER user interface.


Return Values 

Returns zero (0) upon success. A negative one (-1) indicates an error has occurred.


Deprecated: PC*MILER|Connect 32

Category: Custom Data