Geopointe

Create a “Link to Route” Formula Field

To view someone else’s route, all that is needed is to pass the ID of the route record to the Map page in the routeId URL parameter. This can be done very easily by a formula field on the Route__c object in Salesforce. To create this, create a new field on Routes called “Link to Route”. Make it a formula field that results in Text and use the formula below.

HYPERLINK("/apex/geopointe__map?routeId=" & Id, "Open Route")

Add that field to your Page Layout and/or a Report and you have yourself an easy way to view any route.