sfelde / google-maps-tsp-solver

Automatically exported from code.google.com/p/google-maps-tsp-solver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with draggable route.

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?

on function "onSolveCallback" change this:

    var dirRender = new google.maps.DirectionsRenderer({
        draggable : true, /**ADD THIS**/
        directions: dirRes,
        hideRouteList: true,
        map: gebMap,
        panel: null,
        preserveViewport: false,
        suppressInfoWindows: true,
        suppressMarkers: true });

causes this error when trying to drag the route:

    "Error in property <origin>: (c is null)"



Original issue reported on code.google.com by patric.d...@gmail.com on 23 Sep 2011 at 5:55