From 9ff192366ad46541a3d22e632877e82bf62a27ac Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 14 Feb 2014 17:24:18 +0100 Subject: [PATCH] Add example mapconfig --- tools/examples/mapconfig_simple.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tools/examples/mapconfig_simple.js diff --git a/tools/examples/mapconfig_simple.js b/tools/examples/mapconfig_simple.js new file mode 100644 index 00000000..e1fc1f43 --- /dev/null +++ b/tools/examples/mapconfig_simple.js @@ -0,0 +1,11 @@ +{"version":"1.0.1", + "layers":[{ + "type":"cartodb", + "options":{ + "sql":"select 1 as id, ST_SetSRID(ST_MakePoint(0,0),3857) as the_geom_webmercator", + "cartocss":"#style{ marker-width: 12;}", + "cartocss_version":"2.1.1", + "Interactivity":"id" + } + }] +}