Coder Social home page Coder Social logo

Comments (4)

venits avatar venits commented on May 27, 2024

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.

FrK492 avatar FrK492 commented on May 27, 2024

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.

venits avatar venits commented on May 27, 2024

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.

dennisbejencev-an avatar dennisbejencev-an commented on May 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.