Skip to content

Conversation

loomisdf
Copy link

@loomisdf loomisdf commented May 4, 2017

Overview of changes:
Implements a new ArisJs function to hide notes on the map tab. They will still exist when looking at the Notebook, but they don't render on the map. The toggle is not persistent and will default to true when the Aris app is exited. This shouldn't be a problem for games that require a play through in one sitting. There is one minor caveat to the function: notes will only hide once a scene change has occurred. We believe this is due to the map not being re rendered when the function is called.

How to call the function:

var ARIS = {};

ARIS.ready = function() {
    ARIS.showNotesOnMap(false);
}

@loomisdf loomisdf changed the title Remove notes Hide notes May 4, 2017
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.

1 participant