I have been following this documentation for drawing polygon on map. Now I tried to fetch the value for latitude and longitude from API and draw it. For a small amount of value, it is not a problem as I just directly wrote it from using state.  Below...
i am using react-native-maps for my react-native project. I show markers on the map which are assigned and un-assigned from UI. I use API's for getting markers data and display them in the maps. Each marker has a title and description which is sh...
I am using react-native-maps. I use the <MapView.UrlTile/> and on top I am trying to visualize a <MapView.Polyline />. However, the Polyline is not visible. It lays under the passed URL Template. I can tell that, because when I zoom and p...
I am trying to use the animateMarkerToCoordinate method on a marker in React Native Maps.  The documentation proposes the following:  componentWillReceiveProps(nextProps) {   const duration = 500    if (this.props.coordinate !== nextProps.coordinate)...
platform: ios 10.3 "react": "16.0.0-alpha.12", "react-native": "0.48.3", "react-native-maps": "^0.16.4",   The reason why I should track double press event is that when I press on map then header in my...
I am getting error whenever I tried to run a project which has for react-native-maps. Otherwise it is working fine incase no react-native-maps, I am using Geneymotion as my android emaultor. Please suggest me on the same. Please find attached screens...
i am building a ui for tracking a driver, i update the track as well as direction... And for the custom marker, I have used transform and the rotation of the driver's heading value, the marker animates very nicely with respective to the heading,...
I'm trying to move a button inside my map component . i'm using react-native-maps   let me show you my   render() { console.log(this.state) const { region } = this.state; return (   <View style={styles.container}>     <MapView...
The color of MapView.Marker does not seem to change from the default red color even after assigning a color to pinColor.  Is something wrong?  { this.state.markers.map(marker => {     return (         <MapView.Marker              coordinate={{l...
I have a <MapView> and the region never updates when I scroll the map. The map is essentially stuck on one region. When I scroll it seems to pass the exact same region to this.props.onRegionChange which prevents the map from scrolling. How do I...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.