From 5f30b9e7989a0589d1e1c00a8bdb83c75542624d Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 20 Mar 2014 18:19:30 +0100 Subject: [PATCH] Add an example of a slow mapconfig (using lots of data) --- tools/examples/mapconfig_slow.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tools/examples/mapconfig_slow.js diff --git a/tools/examples/mapconfig_slow.js b/tools/examples/mapconfig_slow.js new file mode 100644 index 00000000..77a92370 --- /dev/null +++ b/tools/examples/mapconfig_slow.js @@ -0,0 +1,11 @@ +{"version":"1.0.1", + "layers":[{ + "type":"cartodb", + "options":{ + "sql":"select 1 as id, ST_Transform(ST_SetSRID(ST_MakePoint(x/1000,x/2000),4326),3857) as the_geom_webmercator FROM generate_series(-170000,170000) x", + "cartocss":"#style{ marker-width: 12;}", + "cartocss_version":"2.1.1", + "Interactivity":"id" + } + }] +}