osrm-frontend icon indicating copy to clipboard operation
osrm-frontend copied to clipboard

[settings] profile selection missing

Open DennisOSRM opened this issue 11 years ago • 2 comments

from the previous UI:

bildschirmfoto 2014-11-27 um 14 06 40

DennisOSRM avatar Nov 27 '14 13:11 DennisOSRM

Is there an easy way to change the currently used IRouter instance without recreating the IControl? @perliedman

If not I'm just going to add a setter for this. Alternatively the control could also get an array of IRouter instances and an interface to select the which one to use.

TheMarex avatar Dec 03 '14 18:12 TheMarex

@TheMarex It's not more complicated than updating the _route variable of the control, but of course it's tidier to have a setter since it's private.

perliedman avatar Dec 03 '14 19:12 perliedman