Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

Commit

Permalink
modified gitignore to ignore .project files
Browse files Browse the repository at this point in the history
  • Loading branch information
jcardonadcdev committed Feb 18, 2014
1 parent 20140a6 commit c5290a7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.swp
*.project
38 changes: 19 additions & 19 deletions examples/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@

//convert geojson to json that ESRI ArcGIS Server uses
esriFeats = jsonconverter.toEsri(geoJsonObject);
console.log("Esri Features: ", esriFeats);

//make graphic from each feature
if (esriFeats && esriFeats.features){
Expand Down Expand Up @@ -272,27 +273,26 @@

function getTestMultiPolygon(){
return {
"type":"FeatureCollection",
"features":[
{
"type":"Feature",
"properties":{
"cartodb_id":46,
"addr1":"18150 E. Pathfinder Rd.",
"addr2":"Rowland Heights",
"park":"Pathfinder Park"
},
"geometry":{
"type":"MultiPolygon",
"type":"FeatureCollection",
"features":[
{
"type":"Feature",
"properties":{
"cartodb_id":46,
"addr1":"18150 E. Pathfinder Rd.",
"addr2":"Rowland Heights",
"park":"Pathfinder Park"
},
"geometry":{ "type": "MultiPolygon",
"coordinates": [
[[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]],
[[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]],
[[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]]]
]
[[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]],
[[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]],
[[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]]]
]
}
}
}
]
}
]
};
}


Expand Down

0 comments on commit c5290a7

Please sign in to comment.