-
-
Save javisantana/3936f073bf5f4ab5ddab 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
sql.execute("SELECT * FROM european_countries_e WHERE ST_Area(the_geom::geography)/1000000 > {{area}}", { area: 1000000 }).done(function(geojson) { | |
countriesLayer.addData(geojson); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment