We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As far as I can tell, the JSON tile files aren't being cached. You have
if ((typeof jsonCache[cellx] !== 'undefined') && (typeof jsonCache[cellx][celly] !== 'undefined') && (typeof jsonCache[cellx][celly][zoom] !== 'undefined')) { // Cache hit console.log('cache hit'); handleJson (x, y, jsonCache[cellx][celly][zoom], callback); return; }
But I don't see this getting set with a successfully loaded json file anywhere in the source. The closes it gets is this:
handleJson (x, y, json[zoom], callback); if (typeof jsonCache[cellx] === 'undefined') { jsonCache[cellx] = {}; } jsonCache[cellx][celly] = json;
This is perhaps where the bug is - maybe it needs to be
handleJson (x, y, json[zoom], callback); if (typeof jsonCache[cellx] === 'undefined') { jsonCache[cellx] = {}; } if (typeof jsonCache[cellx][celly] === 'undefined') { jsonCache[cellx][celly] = {}; } jsonCache[cellx][celly][zoom] = json;
I can't tell if this is intentional or not. Would be great if you could review.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As far as I can tell, the JSON tile files aren't being cached. You have
But I don't see this getting set with a successfully loaded json file anywhere in the source. The closes it gets is this:
This is perhaps where the bug is - maybe it needs to be
I can't tell if this is intentional or not. Would be great if you could review.
The text was updated successfully, but these errors were encountered: