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

Drawing on existing canvas object #106

Open
donjajo opened this issue Nov 21, 2020 · 1 comment
Open

Drawing on existing canvas object #106

donjajo opened this issue Nov 21, 2020 · 1 comment

Comments

@donjajo
Copy link

donjajo commented Nov 21, 2020

Hi,

Is it possible to draw on an existing canvas element and position it. Rather than providing a html element?

Thanks

@ofrohn
Copy link
Owner

ofrohn commented Feb 14, 2021

The canvas is always created within a div element, id given by the configuration parameter container (default 'celestial-map') with the selector #celestial-map canvas you can always access it externally.
sorry for the late answer

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