react-native-mapbox-gl icon indicating copy to clipboard operation
react-native-mapbox-gl copied to clipboard

dynamically update features in featureCollection to show markers/pins on the map not working.

Open vivekparekh8 opened this issue 6 years ago • 3 comments

static pins ( features as array works ) in below code pin comes from state and it is updated from api call

				styleURL={MapboxGL.StyleURL.Street}
				ref={ref => (this.map = ref)}
				zoomLevel={5}
				heading={0}
				userTrackingMode={MapboxGL.UserTrackingModes.NONE}
				centerCoordinate={defaultLocation}
			>
				<MapboxGL.ShapeSource id="point1" shape={pins} clusterRadius={50} clusterMaxZoom={14}>
					<MapboxGL.SymbolLayer id="callout" style={styles.mapIcon} minZoomLevel={1} />
				</MapboxGL.ShapeSource>
			</MapboxGL.MapView>

version : 6.0.2 other versions > 6.0.2 unable to render map.

vivekparekh8 avatar Sep 16 '18 07:09 vivekparekh8

@yqz0203 have you found out any soln for this ? or faced similar issue

vivekparekh8 avatar Sep 16 '18 07:09 vivekparekh8

I have the same issue.

MapBox version: 6.1.3 React-Native version: 0.55.3

brunocrpontes avatar Oct 01 '18 20:10 brunocrpontes

@vivekparekh8 did you find your solution ?

arnaudambro avatar Jul 22 '19 15:07 arnaudambro