-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Done some upgrades, and published the app on Expo #1
base: master
Are you sure you want to change the base?
Conversation
Done some rework to organize the project Created workarounds for image markers on Android
Can you also make an example for this cluster to make use of polylines which makes use of the same Zoom Level and changes according to it ? Thanks in advance. |
Hi @yarra2296! I think you may implement it like this:
If you need the MapView ref, you can get it like this:
Then...
Now you can implement the api of mapView constant, like mapView.animateToRegion() |
Thanks @mgscreativa , I tried implementing the same. But the lines are not getting displayed. `import React from 'react'; import Map from './scenes/Map' import Points from './assets/Points.json'; //const mapView = this.map.getMapRef() export default class App extends React.Component { Is this the thing you said to implement it buddy. |
Bro @mgscreativa , I implemented When I am not using clustering. But With the code of clustering, I am having a problem integrating with that code. Thank you. |
Well, it works for me. If you replace this code in the example you can see the poliline near Rome...
|
Thanks @davidroman0O , But isn't the polylines are visible when the Map was zoomed out. Like, I am having an extra line problem. Here is the screen-shot how it looks like. |
Are you not getting the same porblem. Because I am working to rectify it since 1day. The problem is restrained. I am not knowing How to solve this. Please Help me with this bro @davidroman0O . |
Hi @yarra2296 I'm really sorry, I got this all wrong, this repo demostrates clustering, but for a better and maintained solution, you should take a look at this repo https://github.com/novalabio/react-native-maps-super-cluster I have created an Expo version of their example https://github.com/mgscreativa/react-native-maps-super-cluster-example/tree/expo In this example, the code I've given works just fine... |
Done some rework to organize the project
Created workarounds for image markers on Android
Added demo app on Expo
I have added some brand assets for the Expo publication, feel free to remove if you want.