mardi 7 novembre 2017

randomize featureCollection

I have a geojson feature collection with features like below in the entire collection.

{ geometry: { coordinates: [Array], type: 'LineString' },
properties: { angle: 120.2},
type: 'Feature' }

Is there a way which I can randomise the features in the collection and make them not sequential in javascript?




Aucun commentaire:

Enregistrer un commentaire