Questions tagged [react-native-map-clustering]
11 questions
13
votes
2 answers
React Native Maps: Custom Markers cause extreme lag and slow down on android
I load up to about 2000 markers on the map.
It works fine for the first few seconds but then slows down sharply. To fix it I need to clear the app data, then it only works for a few seconds and again like before.
const mapMarkers = [
{id: 1,…

Mahdi Bashirpour
- 17,147
- 12
- 117
- 144
2
votes
0 answers
App crash when rerender: Exception thrown while executing UI block: * -[__NSDictionaryM setObject:forKeyedSubscript:]: key cannot be nil
I'm trying to build a map with clustering. At first, render everything works fine, but as soon as a user tries to move map or zoom, I'm recalculating markers/clusters postions, and app breaks on iOS with error: Exception thrown while executing UI…

codelearner
- 41
- 4
2
votes
0 answers
react-native-maps-super-cluster : How to make multiple type of clusters
I have managed to make clusters with react-native-maps-super-cluster . My requirement is now to create multiple clusters based on the cluster points category. For example , if i have 10 markers , 5 being one type and the remaining another type. I…

FortuneCookie
- 1,756
- 3
- 25
- 41
1
vote
1 answer
marker pin recreate on custom marker when user filter the marker then zoom in /out (Please Go through the below Description)
At first, render everything works fine, but as soon as a user tries to filter marker through rest api after this step user zoom out or zoom in a map default marker pin generate on custom marker
dependence:- react-native-maps
check the recording…

codelearner
- 41
- 4
1
vote
0 answers
react-native-maps: How not to redraw some markers on region change?
In my React Native app, I fetch the markers that should be shown based on region. So when the region changes, a new fetch is called and all the markers are redrawn. In order to optimize the performance, I'd like to draw only the new fetched markers…

dondopong
- 11
- 2
1
vote
0 answers
react native map How to render marker that only in the screen view?
I am using react native map, and I have more than 10000 marker I want to render those that inside the screen view,
How to achieve that?

aharon vishinsky
- 209
- 1
- 3
- 11
1
vote
1 answer
How to cluster all Markers except one
i am using react-native-map-clustering for clustering Markers on the google map. All of Markers are dynamic except one, which indicates my location. When i zoom out map clusters all Markers. But i want something like this
Here is my…

Kamron Jurayev
- 87
- 1
- 7
1
vote
2 answers
React native map markers flicker on state update
We've multiple coordinates that we need to display on the map using markers. The marker clicked by the user has to be marked as active and have some operations performed for some other functionality.
When I update the state in onPress method of the…

Nikhil
- 665
- 2
- 11
- 25
0
votes
1 answer
Performance Issue with react-native-map-clustering
Im loading some markers from the Overpass API (OpenStreetMap) and showing them in a ClusterMap. Although Markers are clustered now, the App has a bad performace and high interactivity latency. Is it possible to get better interactivity?
Expo:…

ez code ez life
- 35
- 5
0
votes
0 answers
Clustered static map from Mapbox
I'm trying to extract static maps using Mapbox's Static Images API. The goal is to embed these images into an HTML page/email etc. Here is a sample that I was able to generate successfully which is at zoom level 13 using custom styles I built on…

Noble Abraham
- 23
- 6
0
votes
1 answer
react-native-maps-super-cluster add my marker
I succeeded in running the code provided by the site using react-native-maps-super-cluster.
However I cannot know how can I add my custom marker to the code.
How can I add my custom markers.
When I add my marker, it did not clustered.
The number…

Contractor
- 51
- 2
- 7