react-native-maps Questions

8

Solved

I've spent about 5 hours trying to get this to work with many different permutations of code, and then rebuilding. I cannot for the life of me change the default "red pointer" marker as t...
Magnetite asked 23/1, 2019 at 23:42

3

I am using react-native-maps and it works great. But I have two problems. I am able to follow user location automatically using the followsUserLocation but when I move the map it keeps dragging m...
Produce asked 15/3, 2019 at 4:26

13

I get an error: "Error using newLatLngBounds(LatLngBounds, int): Map size can't be zero. Most likely layout has not yet occured for the map view. Either wait until layout has occurred or use newLa...
Sarinasarine asked 9/12, 2017 at 8:49

7

react-native-geolocation-service(^5.3.1) throws this error or app crashed when Geolocation.getCurrentPosition() is called. The error started getting after I have added react-native-maps(^1.8.0) lib...
Bergeron asked 11/10, 2023 at 14:47

2

Solved

I have a component that has a map with multiple custom markers for various locations and a carousel with cards for those same locations. When a user presses a marker, it should show the callout and...
Stillmann asked 14/5, 2019 at 22:5

2

Solved

I use React Native with Expo, Expo Router and Metro to build a map application. I used react-native-maps package. React-native-maps is not available for the web (https://docs.expo.dev/versions/late...
Silk asked 6/7, 2023 at 14:4

4

I have a map screen with markers, I try to add image to the callout and I use same method of <image source = .. /> as I did in other place that works, but on the map it wont show me the pictu...
Paulson asked 27/3, 2021 at 9:51

9

I have been trying to follow this https://github.com/airbnb/react-native-maps tutorial I tried everything they said but getting a blank screen on my emulator of android studio. My Code: impo...

9

React native is blank on my android device. It's just a grey screen with the google logo. Unlike React-native-maps Blank page Only google logo it is is working on a simulator but not on real devic...
Nahtanha asked 17/7, 2018 at 9:41

3

Solved

I'd like to use a custom marker image instead of the pulsing blue dot - is there a way to customize this in react native maps using apple maps for ios and google maps for Android?
Bertrand asked 7/5, 2018 at 15:58

3

Solved

How to display user location on React Native Maps <MapView region={this.props.coordinate} > //My map markers </MapView>
Glary asked 13/7, 2018 at 12:0

18

Solved

I've been trying to install google maps for react-native for a week an still no success. I've searched and tried the solutions in the react-native-maps github issue but still I get a blank page. Wh...
Septet asked 4/12, 2017 at 21:32

4

Solved

Working on a ReactNative App and I am trying to edit the map style. I am following the instructions on "https://github.com/react-native-community/react-native-maps". For IOS the docs suggest the ...
Quint asked 16/1, 2019 at 15:46

2

I am using react-native-maps module.I have given lat and long values and i have used MapView.Marker to show the Marker and tooltip when clicking on the marker. But, Now I want to show the tooltip ...
Undoing asked 25/2, 2017 at 11:12

1

Solved

I am building a hybrid app with React Native Expo. My struggle is that my app needs a map and needs to be functional on mobile and web. To have a map with React Native I found several libraries, bu...

2

Solved

My requirement is, I need to show the marker on the MaoView, when user clicks anywhere on the map and also need to get coordinates (latitude & longitude) of location where the marker is placed....
Frobisher asked 3/4, 2017 at 14:34

2

Solved

latitude: 38.69444432847513 latitudeDelta: 0.1288559458782288 longitude: -90.5969550254043 longitudeDelta: 0.1638044205986091 Suppose my map region has the data above (I use onRegionChange) How ...
Aristate asked 23/12, 2018 at 23:41

3

Solved

I am working on a little map application using react-native-maps. I am trying to render a floating action button on top of the map, but while I do see it flashing for a second, as soon as the map r...
Hobie asked 20/3, 2017 at 17:0

7

Solved

I am using react-native to build a map application. The api I am using is from this link: https://github.com/lelandrichardson/react-native-maps. Below is the code I bring the map on my app. I wonde...
Gamez asked 18/4, 2016 at 4:13

4

In the example from react native mapview they have latitudeDelta and longitudeDelta. Is it equal to the height and width? And in what unit? Accoring to their github comment , it says Distance b...
Foreandafter asked 15/6, 2018 at 21:11

4

I want to integrate maps in my react-native app, I am using the “react-native-maps” library for that https://github.com/airbnb/react-native-maps I want to use clustering but I am unable to find pro...
Skindeep asked 2/10, 2016 at 9:31

6

Solved

I am using the following code with no success: //Inside of NativeBase Container <MapView.Animated ref="map" style = {styles.map} showsUserLocation = {true} zoomEnabled = {true} showsMyLo...

2

I am not able to display images (both from the assets and web) in custom marker callout : the image in callout is always shown as a blank rectangle. class CustomCalloutView extends React.Component...
Butterbur asked 30/1, 2019 at 8:47

2

Solved

I am working with react-native-maps and using the react-native api for geolocation. When I am using location through the api what comes back on the simulator shows me in San Francisco not in Denver...

2

Solved

Is there any way to know if the user is zooming in or out of the map in react-native-maps? How do I get the zoom level or the updated latitudeDelta?
Alonzo asked 21/8, 2019 at 19:49

© 2022 - 2024 — McMap. All rights reserved.