Gmaps (Google Maps) addon

Gmaps - Route with details

    ExpressionEngine Code
    {exp:gmaps:init}
    {exp:gmaps:map
        width="100%"
        fit_map="route"
    }
        {gmaps:add_route
            address:from="heerde"
            address:to="apeldoorn"
            address:stops="epe nederland|klarenbeek"
            step_callback="steps"
        }
    {/exp:gmaps:map}
    
    
    
    
    function steps(e){
        $('#steps').prepend(''+e.instructions+'');
    }