Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. var features = [
  2. '{ "type": "Feature", "properties": {}, ... }',
  3. '{ "type": "Feature", "properties": {}, ... }'
  4. ];
  5. var collection = JSON.stringify({
  6. features: features.map(JSON.parse),
  7. type: 'FeatureCollection'
  8. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement