GetInlineRoute Method
The GetInlineRoute method does the following work:
Dynamically loads the Google map method.
Gets the current location of the device or browser.
Draws the route. It uses the current location as the starting point and the account location as the destination.
It includes the DestValue argument. This argument identifies the postal code or address of an account, contact, or opportunity.
Siebel Open UI calls the predefined GetInlineRoute method from a form applet, but you can customize it to use a list applet. The Integration with Maps and Location service creates a link that includes an image and a bind click event that references the control link that calls the GetInlineRoute method. It gets the postal code value from the record that the user chooses in the form applet, and then sends the value when it calls the GetInlineRoute method in the JQMMapCtrl class. Siebel Open UI must load the Google method before it calls the GetInlineRoute method. It includes the URL for the Google method when it loads the JQMMapCtrl class.