JiriHoffmann / react-native-clusterer

React Native clustering library using C++ Supercluster implementation
MIT License
159 stars 20 forks source link

Add markerToGeoJSONFeature to easily convert points to needed format #34

Closed IslamRustamov closed 8 months ago

IslamRustamov commented 1 year ago

Isn't it going to be convenient to add a helper function like markerToGeoJSONFeature from https://github.com/venits/react-native-map-clustering, so that developers would have an easy way to transform their coordinates to the right type?

Because a lot of mobile devs might receive coordinates in formats like: [[10, 10], [20, 20], ...] or [{latitude: 10, longitude: 10}, {latitude: 20, longitude: 20}, ...] and so on.

IslamRustamov commented 8 months ago

sheeeesh good job