Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Point representation of Timmy's Taco Truck
{
name : "Timmy's Taco Truck",
loc : {
type : "Point",
coordinates : [ 37.7577 , -122.4376 ]
}
}
// Polygon representation (Square) of a Food Truck Park
{
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
You can’t perform that action at this time.