This file contains hidden or 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
Just a quick sketch to explain how to use labels in CartoDB: | |
http://dl.dropbox.com/u/193220/CartoDB/labels.png | |
Something like this should work while we sort out exactly how to release this: | |
#populated_places_points_2{ | |
marker-fill:#0099FF; | |
marker-line-color:white; | |
marker-line-width:1; |
This file contains hidden or 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
SELECT | |
ST_Buffer( | |
st_centroid(ST_Union(the_geom_webmercator)), | |
st_distance( | |
st_centroid(ST_Union(the_geom_webmercator)), | |
ST_EndPoint(ST_LongestLine( | |
ST_Union(the_geom_webmercator), | |
ST_Union(the_geom_webmercator) | |
)) | |
) |
This file contains hidden or 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
SELECT | |
ST_Buffer( | |
st_centroid(ST_Union(the_geom_webmercator)), | |
st_distance( | |
st_centroid(ST_Union(the_geom_webmercator)), | |
ST_EndPoint(ST_LongestLine( | |
ST_Union(the_geom_webmercator), | |
ST_Union(the_geom_webmercator) | |
)) | |
) |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://github.com/simplegeo/polymaps/raw/v2.2.0/polymaps.min.js"></script> | |
<script type="text/javascript" src="http://github.com/mbostock/polymaps/raw/586fbb0346548a5559b6edea8aab76ac51334da5/lib/crimespotting/crimespotting.js"></script> | |
<style type="text/css"> | |
@import url("http://github.com/simplegeo/polymaps/raw/v2.2.0/examples/example.css"); | |
html, body { |
NewerOlder