Created
October 3, 2016 21:24
-
-
Save ilyachenko/326002eed94762841ee0c30f26dbf1c9 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
// Point | |
{ | |
name : "Timmy's Taco Truck", | |
loc : { | |
type : "Point", | |
coordinates : [ 37.7577 , -122.4376 ] | |
} | |
} | |
// Polygon (Square) | |
{ | |
name: "Truckapalooza Square", | |
loc : { | |
type : "Polygon", | |
coordinates : [ [ [ 0 , 0 ] , [ 0 , 1 ] , [ 1 , 1 ] , [ 1 , 0 ] , [ 0 , 0 ] ] ] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment