摘要 |
A method in a computer device for use in displaying a map is described. The computer device includes a memory for storing a mapping application and a user interface having a display. A selection of a hypertext link object in an electronic file or message is received through the user interface. The hypertext link object is associated with a uniform resource locator (URL) string comprising a server address and location data corresponding to a location. In response to receiving the selection of the hypertext link object, a mapping function of the mapping application is invoked via a URL hook instead of displaying a map of the location based on map data received in response to a request to a server identified by the server address. The mapping function is invoked for rendering, in the display, a map of the location based on alternative map data received in response to a request to a mapping server. Advantageously, processing of the received hypertext link mapping indicator is handled differently depending on the type of device or whether a predetermined mapping application is installed in the device, so that optimal mapping functionality is provided for different device environments.
|