Comments (4)
Hi, what you mean by 'opens one of the markers '?
It is like onPress is called or it zooms to this marker?
Also, can you share your code? Maybe I will be able to help you :)
from react-native-map-clustering.
When i click it once onClusterPress called but pressing twice triggering onPress function of one of the marker's callout which inside of that cluster.
<Marker key={i} coordinate={this._parseCoordinates(place.Coordinate)} onCalloutPress={() => this.props.navigation.navigate('Place', { place: place })}> <Callout tooltip> <View style={{ backgroundColor: '#08b4bc', borderRadius: 20, padding: 10 }}> <Text style={{ color: '#fff' }}>{place.Title}</Text> </View> </Callout> </Marker> ))
from react-native-map-clustering.
Hmm works fine for me :I
Pressing twice only zoom to clicked cluster for me.
Also it is onCalloutPress so callout must be show first of all.
from react-native-map-clustering.
@FrK492 sorry me, but can you check the issue #38, do you have the same problem or no?
from react-native-map-clustering.
Related Issues (20)
- onRegionChangeComplete wrong second parameter HOT 2
- `mapRef` typing is not accurate HOT 2
- Click on cluster doesn't zoom in and show markers HOT 4
- How to change cluster border? HOT 3
- react-native-map-clustering can not cluster with child component HOT 2
- On iOS, after pressing a cluster and zooming the first time, pressing a marker shows it and then quickly hides it HOT 1
- is there a way to get any meta data from the original data in a cluster? HOT 2
- is there a way to dynamically set calster=false to exclude a specific marker from the cluster without breaking the library logic?
- animationEnabled not working HOT 2
- Map Data is not stable on zoom in/out, Incorrect data showing using react-native-map-clustering HOT 2
- On iOS, the app freezes when I use modal
- RNMaps beta support
- On Android, this library is not optimized HOT 3
- Android crash on latest Expo HOT 1
- Marker are hidden until i move the map HOT 10
- clustering on Apple maps does not render all markers
- when we zoom on markers then we are seeing some red lines HOT 3
- Enable `spiralEnabled` without enabling `clusteringEnabled`
- Clicking on the cluster zooms to the wrong location
- Inconsistency in Cluster Rendering between Google and Apple maps in react-native-map-clustering HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-map-clustering.