mapbox/tilestream — Issue #86: JSONP callback flexibility for other clients
Author: perrygeo
Created: 2012-02-14 02:41:51+00:00
State: open

It would be nice to have more flexibility in the jsonp callbacks (as mentioned in #5 and #47). Right now it is hardcoded as grid() and other client implementations may need to a) change the callback function or b) avoid the callback and request straight json.

I understand that, for backwards compatibility, the grid(..) hardcoding is here to stay. But it would be great to have the optional callback query parameter that could allow for dynamic callbacks.

?callback=someOtherFunction

or pure json

?callback=