Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to default checked showTrackPoint and showTrackLine #22

Open
donvan opened this issue Sep 6, 2020 · 1 comment
Open

how to default checked showTrackPoint and showTrackLine #22

donvan opened this issue Sep 6, 2020 · 1 comment

Comments

@donvan
Copy link

donvan commented Sep 6, 2020

the fn _createCheckbox code , inputEle.setAttribute('checked', 'checked') is not work at all.

@gkieninger
Copy link

For me this was working

const trackplaybackControl = L.trackplaybackcontrol(trackplayback);
trackplaybackControl.addTo(map);
$(".trackplayback-input").prop('checked', true);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants