Named maps allow you to create public visualizations out of private tables. It is what the CartoDB editor uses under the hood, but has additional features which allow you to create customizable visualizations out of private data.
- Get the Postman Google Chrome extension: https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm/related Load this collection: https://www.getpostman.com/collections/74a5c96887055affc7e7
You will need to replace the API KEY and the account name with yours.
- List your own named maps
- Create your own (first!) named map definition
- Update your own named map
http://jsfiddle.net/dad9n6ux/2/
There's a bug right now which prevents changing a named map from getting refreshed (as they get cached for a few minutes).
We expect to have it fixed very soon, but you can work around it in your code by adding:
cartodb.uniqueCallbackName = function() { return 'cdb_' + new Date().getTime() }