Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var features = [
- '{ "type": "Feature", "properties": {}, ... }',
- '{ "type": "Feature", "properties": {}, ... }'
- ];
- var collection = JSON.stringify({
- features: features.map(JSON.parse),
- type: 'FeatureCollection'
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement