react-native-maps Questions
1
I'm building a map that displays markers to show the location of nearby merchants. I'm passing a 'data' array as props to the map. I've set an interval such that every two seconds, I fetch more mer...
Hokusai asked 20/12, 2017 at 15:41
7
Solved
Im trying to render a map at the current user geolocation on android device, using react-native maps.
Here is what i've got so far:
import React, { Component } from 'react';
import {
View,
Sty...
Thereabouts asked 29/11, 2017 at 17:31
2
Solved
Changing animateCamera pitch and zoom properties dynamically with useState doesn't work
onLayout={() => {
map.current.animateCamera({
center: { latitude: location?.coords?.latitude, longitude...
Horatius asked 12/11, 2021 at 13:52
1
Solved
I follow this to setInterval update every 200ms.
My code is here on Snack
( I cant add react-native-maps. I check expo's docs and the example is not working, too)
Problem is: When setInterval run, ...
Felder asked 15/2, 2022 at 10:6
5
Solved
I got a problem with my app.
When I try to build it on Android Studio everything works fine but when I try to build it on Xcode I got an error and the build fails.
The reason seems to come from Air...
Cockalorum asked 13/6, 2018 at 12:22
2
When a user presses on a marker I am calling animateToCoordinate to center the marker in the middle of the screen. The problem is that the callout is rendered to the position of the region before a...
Infundibuliform asked 16/9, 2017 at 4:28
4
Solved
I'm trying to use google maps on iOS and I get this error:
react-native-maps: AirGoogleMaps dir must be added to your xCode project to support GoogleMaps on iOS.
Error Image
I'm using react-...
Verine asked 22/11, 2018 at 18:16
11
I have just upgraded my app from Expo SDK 37.0.0 to 38.0.0. The app works fine on iOS but on Android I get the following warning and the app doesn't geolocate me on the map.
Development environment...
Extremism asked 23/7, 2020 at 18:14
4
Solved
react-native: https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz
react: 16.13.1
react-native-maps: 0.28.0
I want to get markers as a part of the snapshot. When we use takeSnapshot metho...
Thrilling asked 7/9, 2021 at 23:5
3
Solved
I am using react-native-maps on android. I put a custom button clicking on which should go to supplied coordinates (my current location)
<MapView
ref={(map) => { this.map = map; }}
provide...
Nora asked 28/7, 2019 at 17:8
1
Solved
expo version : sdk42
react-native-maps: 0.28 and 0.27.1 both
using react-native-maps-directions
here is code
<MapView
provider={PROVIDER_GOOGLE} // remove if not using Google Maps
style={styl...
Guernsey asked 9/7, 2021 at 17:5
3
I want to changes my initial region when move some position in map, I used onRegionChangeComplete functionality for that but it is calling twice or trice at a time.
Here is my code:
onRegionChangeC...
Meticulous asked 15/12, 2017 at 12:15
3
Solved
I'm having a weird issue with the React Native Maps library. At the moment when I follow all the documentation correctly, every time I move the map, it appears to stutter and move back to the origi...
Vraisemblance asked 6/11, 2018 at 23:20
2
Solved
I load up to about 2000 markers on the map.
It works fine for the first few seconds but then slows down sharply. To fix it I need to clear the app data, then it only works for a few seconds and aga...
Bronco asked 13/1, 2020 at 12:46
1
How would I implement a feature in which a user must use two fingers to pan the map with react-native-maps? It appears they do not have gestureHandling as a feature. I don't necessarily need a full...
Antihelix asked 13/6, 2018 at 15:27
2
Solved
I use the great react-native-maps from Airbnb on a react-native app.
I got a list of markers on a JSON file where each of these markers have a property zoom which is a integer of an approximate zo...
Selector asked 4/10, 2017 at 15:18
6
Solved
I am working with react native and I only want to link my fonts and nothing else.
I am using react-native-maps and it specifically says in the docs "Do not use react-native link"
Everywhere I loo...
Beulahbeuthel asked 1/3, 2018 at 19:54
0
I am using React native maps for my app. I have restaurants data with latitude and longitude. I have setup user's current location by using expo location(Current location logic will work on real de...
Hurry asked 14/11, 2020 at 7:52
2
I cannot find a way to make the iOS RN map to start with zoom level 0 or to zoom out to 0.
const allowScaling = false;
const region = {
latitude: 0,
longitude: 0,
latitudeDelta: 170,
longitude...
Rrhoea asked 21/9, 2020 at 17:1
10
Solved
I'm using react-native-maps but I faced a problem that after a lot of googling without answer makes me ask it here.
I'm trying to use Custom Marker for the marker in the map as the following pictur...
Thingumajig asked 19/8, 2018 at 7:7
2
Solved
So im trying to make native-maps work within an expo app and the documentation page says that "No setup required for use within the Expo app"
https://docs.expo.io/versions/latest/sdk/map-view/?re...
Cheerly asked 21/8, 2019 at 20:3
4
Solved
I have an API that returns an array of latitudes and longitudes that define the boundaries of an area on a map(polygon).
In my react-native app, I have react-native-maps installed. How do I che...
Chaffee asked 3/2, 2018 at 6:19
4
I have been trying to use the methods on MapView to animate to a region, to do that I need access to the ref but it is undefined. Everything else is working properly, I just can't get the ref and a...
Filmer asked 15/7, 2019 at 20:49
2
Solved
I am trying to overlay some elements in the middle and too of a map but to no avail. So far i've attempted to use 'OverlayComponent' as described on the documentation
render() {
return (
<Map...
Mastaba asked 23/10, 2018 at 14:17
2
So, I want to create a layout similar to whats below. [Refer the Image]
So the background has a full screen MapView (React Native Maps) with Markers over it, which needs to be clickable.
And there ...
Ramp asked 27/9, 2017 at 3:26
© 2022 - 2024 — McMap. All rights reserved.