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

Support tileSize attribute for l-tile-layer and l-tile-layer-wms #60

Merged
merged 3 commits into from
Jan 2, 2025

Conversation

andrewgryan
Copy link
Owner

No description provided.

let tileSize = null;
const text = el.getAttribute("tile-size");
const number = parseInt(text);
if (isNaN(number)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we use a ternary operator instead?

@andrewgryan andrewgryan merged commit 56aba4d into master Jan 2, 2025
2 checks passed
@andrewgryan andrewgryan deleted the feature/tile-size branch January 2, 2025 15:47
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

Successfully merging this pull request may close these issues.

2 participants