Questions tagged [mapview]
The mapview tag has no usage guidance.
mapview
86
questions
0
votes
2
answers
397
views
React-native MapViewer causes You likely forgot to export your component from the file it's defined in
I am using MapView of react-native-maps as shown below but when I try to run my code I get the error ERROR Error: Element type is invalid: expected a string (for built-in components) or a class/...
0
votes
1
answer
118
views
Mapview marker in center not above
I've tried position: absolute, can move down, but its hiding anyway in half, below the center doesn't show marker.
how to move it down to the center view?
1
vote
1
answer
180
views
mapview and plot show different output for the same rasterLayer, why?
Below is the rasterLayer RASTER_slope in a plot (4 NAs are shown in white):
Here is the metadata of RASTER_slope
class : RasterLayer
dimensions : 4, 4, 16 (nrow, ncol, ncell)
resolution : 500, ...
0
votes
0
answers
43
views
Launching Google MapView in incognito mode programmatically
I am building an app showing a MapView in a Fragment.
It's working fine, but – by any means – is there a way to toggle Google Maps' incognito mode programmatically before the map is shown?
My app ...
2
votes
0
answers
161
views
I get error message when I try to use animateToRegion
I tried to use code from this website: https://serveanswer.com/questions/react-native-maps-animatetoregion-does-not-work-with-region-or-initialregion
Unfortunately I have an error message. Here is the ...
1
vote
1
answer
386
views
Mapview highlight SpatialLines upon hover
I want to highlight all lines going to a node/marker on a map in mapview. In the example code here, the nodes represent capital cities. Upon hovering on one of the cities, I would like all 4 lines ...
3
votes
2
answers
2k
views
Add colorFactor palette to mapview object
The aim is to provide fixed colors to factor values. I struggle applying a colorFactor scale to a mapview object. However, the palette does not seem to match zcol.
I tried the following, similar to a ...
0
votes
0
answers
85
views
Can you change the MapSource in Mapview to just an image?
My map should only be a .png image that repeats across the globe. I am using the Mapview flower from kivy.garden, it seems that only a url can be used as the mapsource, tho just a plain image.png ...
2
votes
1
answer
443
views
Create Polygons by Category in sf file R
I have a large set of coordinates from the critical and endangered habit federal registry. I'm trying to digitize these maps for analysis. Here's a sample of the data as an example.
library(tidyverse)
...
1
vote
0
answers
399
views
displayHTML in Azure Databricks shows only a small slice of a leaflet map
I'm attempting to display an HTML file (a leaflet map) using displayHTML() inside a notebook. The file is created with the R mapview package, after following https://docs.databricks.com/notebooks/...
0
votes
1
answer
144
views
How to show map view with mark and get the longitude and latitude to textview
in my android application, i have to get user location , by user locating the marker in mapview, then textview below to map view will display the longitude and latitude, how to do it
3
votes
0
answers
4k
views
React Native MapView without API key
I want to use MapView from react-native-maps library in my react native expo project without going into Google API key pricing.
Is there any way to do that?
Currently, I am using UrlTile to display ...
1
vote
0
answers
84
views
How to successfully install older version of mapview? (and the dependencies)
My end goal is to be able to import mapping functions from the package mapview into PowerBI. Unfortunately, PowerBI is only compatible with on older version of R (version 3.4.4), which is not ...
-1
votes
2
answers
1k
views
kivy_garden.mapview module issues with buildozer (2022)
I get a problem while launching my app on android. It crashes while trying to open it on android. My app uses kivy and kivymd as a GUI. It also uses kivy_garden.mapview to display a map. It works ...
0
votes
1
answer
434
views
MapView showing blank view with google icon on it when ejected from expo
So i built an app in expo where i use MapView and it worked fine until i ejected from expo.
It showed map correctly but when i ejected from expo, it shows a blank view with google icon on it.
Note ...