Questions tagged [mapview]
76 questions
1
vote
1 answer
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, 500 (x, y)
extent : 2227000, 2229000,…

Inder
- 41
- 3
1
vote
1 answer
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 going to/from that city to become highlighted. The…

ayasugihada
- 329
- 1
- 2
- 13
1
vote
0 answers
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/visualizations/htmlwidgets.html to make it all work. …

Andrew Brick
- 115
- 8
1
vote
0 answers
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 compatible with the latest version of mapview. I then…

dunbar111
- 185
- 1
- 8
1
vote
2 answers
Android Studio Application Crashing on touching MapView
I'm getting this strange error when I touch, scroll, or interact with the Mapbox Mapview. I don't really understand the error message, I appreciate if anyone could give some insight whats going on I tried everything...
You should know, I'm not…

Jessica Almany
- 21
- 4
1
vote
0 answers
how to loop MapView component API and get a multiple mapRef in Array map method- react native
[enter image description here][1]I am developing Live tracking App for Android and IOS using google maps APIs and the technology i am using is React native.
I am able to list the multiple maps using an array map method but not all the map routes are…

Alien
- 11
- 2
0
votes
0 answers
My app is working on Expo Go, but apk crashes when I open page with map component
I finished my app and it is working in Expo Go, but when I export apk to test it, it crashes when I open page with map component. I did all instructions from: https://docs.expo.dev/versions/latest/sdk/map-view/
The error I get in eas development…

zorz
- 11
- 3
0
votes
0 answers
Click on MapMarker and get widget back
def addMarker(self,lat:float,lon:float,source:str = "default"):
if source == "default":
marker = MapMarker(lat=lat, lon=lon)
else:
marker = MapMarker(lat=lat, lon=lon,source = source)
…
0
votes
0 answers
Setting Custom Map in Kivy MapView
I am trying to write a sort of map app. The app should show the map of a building and show places of interest with a marker. If you were to then click on the marker you would see some information about that specific place on the map. I am trying to…

Timon
- 11
- 1
0
votes
0 answers
Map canada 6 digit zip codes on Looker
Trying to visualize 6 digit zip codes of Canada on a map chart. But Looker is only supporting 3 digit zip codes to be mapped on the map.
How to map a zip code like P0W 1L0 on Looker maps?
Looker is supporting only P0W to be mapped on the map.
Looker…

Teja Goud Kandula
- 1,462
- 13
- 26
0
votes
0 answers
Using mapview and colouring all the labels a different colour depending on the genus they are in
I am making a map in R using mapview. I want to be able to change the colours of the points so that each Genus has its own colour as opposed to them all being the same. How can I do this?
My code is here:
mapview(Stegosauridae, xcol = "Longitude",…
0
votes
0 answers
MapView goes back to the original position when I try to zoom in or zoom out, it keeps fixated on the user location
I could get the user location and even track it but when user moves the view updates and follows the user. The problem is when I try to zoom in or out it goes back to the original position. This happens both time when the user is moving and when the…

Arafat
- 1
0
votes
0 answers
MapViewDirections rerendering issue
ok so i have a page in react native that has a mapview and i am displaying the current location of the user and the destination of the user, at first the user's position on the map didn't move if the user moves, so i decided to use…

Curtis Crentsil
- 459
- 6
- 20
0
votes
1 answer
Stacking Different View in React-Native Failed
I am attempting to implement a page in react-native with a Map component on the botton, and I am also trying to put a overlapping scroll view on top of the Map view without influencing the functionality of it. However, I am having trouble making…

totalnoob
- 7
- 1
0
votes
0 answers
is it possible to display a "satellite" map with kivy mapview?
I would like to integrate a satellite map in my kivy app.
expected result
After some research, I don't think it's possible with kivy's mapview module (there's only the default mode).
default mode
I've also seen that the folium package allows you to…

Senpaic85
- 1
- 1