You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
I'm using Mapbox v0.6.7 which uses MM under the hoods. I came across a weird situation where a particular zoom handler worked sometimes but not others. There was no output to the console and/or exception bubbling up. Tracing through the code I came across this:
I'm using Mapbox v0.6.7 which uses MM under the hoods. I came across a weird situation where a particular zoom handler worked sometimes but not others. There was no output to the console and/or exception bubbling up. Tracing through the code I came across this:
https://github.com/stamen/modestmaps-js/blob/master/src/callbacks.js#L57
I made a quick patch to cause exceptions there to bubble up the stack and was able to figure out my logic error.
I don't currently know enough about MM to know if this is by design, but it seems there's an opportunity to do something more graceful there? Thanks.
The text was updated successfully, but these errors were encountered: