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

draw ground layer when navigating other floors #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lucasterra
Copy link
Contributor

Drawing groundlayer is disabled by default.

You can enable it by either setting TibiaMap.drawGroundLayer to true

this.drawGroundLayer = true;

Or by calling TibiaMap.setDrawGroundLayer at runtime. This allows you to make a control button to enable or disable it.

var map = new TibiaMap();
...
map.setDrawGroundLayer(true);

@mathiasbynens mathiasbynens changed the base branch from master to main June 16, 2020 07:10
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.

None yet

1 participant