Created
September 18, 2013 12:05
-
-
Save strk/6608224 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://strk.cartodb.com/tiles/layergroup/662381ebb78b01d284a9bf18bcb74324:0/{z}/{x}/{y}.png?cache_policy=persist |
I told you a more stable solution was needed :)
Maybe this:
https://strk.cartodb.com/tiles/layergroup/f0ffdaf7c1ed91904d37137f6fdc87f6:0/{z}/{x}/{y}.png?cache_policy=persist
if you're quick enough before it expires ...
For the record: you can obtain a "token" to put after "layergroup" component by specifying full configuration in a request to layergroup. Here's an example which produces the map I just pasted:
You can use POST instead of GET, if you want. The request contains an SQL query and a CartoCSS which you can tweak with the style you prefer. It will return a token for use to get tiles.
That's pretty damn cool - I've been having a play with cartodb myself. Impressive stuff. Bit of a bulky interface though.
Thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi strk,
Do you have an updated version of this that will work briefly so I can get a screenshot of our final hack including the overlay to illustrate a blog post I'm going to make about this week's hackathon?
robert.