I'm having trouble displaying a route between two markers on the map. Currently, the map keeps defaulting to the location of Ireland and not showing the intended route.
public string DrawMapDirections(string Start,string End,string[] WayPoints)
{
// Map code here
}
The start and end points are passed through this function:
GoogleMap gm = new GoogleMap();
html += gm.DrawMapDirections(start, end, waypoints.ToArray());
For example, the start point could be: Treloggan Ind Est, Newquay, TR7 2SX, Cornwall, UNITED KINGDOM.
No errors are being displayed, so it's unclear why the route is not showing up.
Here's what the map script returns:
<script>
// Map script content
</script>