Skip to main content

Questions tagged [mapview]

The tag has no usage guidance.

0 votes
2 answers
28 views

Display Text over MapView without Redrawing MapView when Overlayed Text Changes

I have a <MapView /> next to some position: absolute Views with Text in them. In the MapView, I have a <Circle /> within it to mark an area within the map. I have information like the user'...
Apoptosome's user avatar
0 votes
0 answers
32 views

MapView In react native keeps coming up with a web bundling error?

new to all this but im having problems with using MapView in my react native app i keep getting a web bundling failed when i add the import map view, any help will be appreciated here is my code and ...
dan lea's user avatar
0 votes
0 answers
15 views

How to edit the clickable popup in R-Map

I made a map using mapview. When you click on a point on the map, you get a popup with the details of that observation. However, not all the 8 columns in the popup are relevant to the map's target ...
Eva's user avatar
  • 1
0 votes
0 answers
23 views

MapView Marker React Native Expo

Error Type '{ coordinate: { latitude: number; longitude: number; }; image: { uri: string; }; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'. Property ...
Beanz's user avatar
  • 1
0 votes
1 answer
33 views

Red bubbles inside a MapView in kivymd

I'm making an application that uses a map, but when I zoom in or zoom out, orange bubbles appear on the map that I don't know how to disable. Also, when I switch to another window, the dots remain. ...
Batman Dorado's user avatar
0 votes
0 answers
37 views

Fitting a Long Legend Within Mapview

I like what mapview outputs but can't really use it with with the burst option (seems to make legend interactive and zooms to group on click) as there's no way to adjust the scale of the legend. Is ...
eMosso's user avatar
  • 1
0 votes
0 answers
24 views

Can I load basemap without center or set view in map initialization

I have the center coming from a different layer, however, that layer is loading slowly so initially you see a blank map container.so, I want the basemap to be visible. view.map = L.map('map_' + mapId, ...
Asm's user avatar
  • 1
0 votes
1 answer
51 views

How to render a mapview output in PDF with knits?

I'm rendering a PDF with mapview. However, the output seems that it was too fast at getting a screenshot of the map and is not rendering it properly. --- title: "test" output: pdf_document:...
M. Beausoleil's user avatar
2 votes
1 answer
153 views

Combine Multilinestring into one line string to generate regular spaced points using sf

I'm trying to generate random points on a linestring using SF. However, the data is multilinestring and st_line_sample requires linestring. So I'd like to make the multilinestring into only one ...
M. Beausoleil's user avatar
1 vote
1 answer
103 views

How to show only downloaded map tiles and not the default Apple/Google maps with MapView library in Expo/React-Native

I am displaying a map view in my react native app like this, using the MapView library. <View style={styles.container}> <MapView region={region} style={styles.map}> <UrlTile ...
anonymous2343's user avatar
0 votes
0 answers
25 views

Change MapView padding (to avoid being hidden under a bottom sheet)

I'm showing a bottom sheet on top of MapView. I want to push the map center, and apply bottom padding to MapView according to bottom sheet height. Any thoughts on how to do that?
Soheib Bettahar's user avatar
0 votes
0 answers
108 views

Cannot navigate to view from mapview calloutAccessoryControlTapped delegate method

When user taps on mapview annotation rightCalloutAccessoryView disclosure button, I want to navigate to another view struct ProfileMapView: View { var body: some View { NavigationView { ...
vrao's user avatar
  • 571
0 votes
0 answers
41 views

Argument passed to call that takes no arguments SwiftUI for MapView

I am passing an argument locationPins into MyMapView as a Binding and then again pass locationPins to MapView as another Binding. But when I pass it to MapView as an argument I get error: "...
vrao's user avatar
  • 571
0 votes
0 answers
25 views

I'm stuck with kivy's mapmarkerpopup function, can anyone help me?

At the moment I'm having problems displaying a marker to insert on the map although the code from IDE does not give errors of any kind, it displays the map but not the marker. This is the python code: ...
Mario Rossi's user avatar
0 votes
0 answers
64 views

Error while accessing core data inside Mapview SwiftUI

I have MapView working for a single Marker. I want to access core data entity and based on the number of items it consists of, I want to create corresponding number of Markers. So inside MapView I ...
vrao's user avatar
  • 571
1 vote
1 answer
73 views

How to visualize single points in shiny app mapview leaflet

I have a large dataset but I am providing 3 records to make this example reproducible with the minimum amount of data. I am able to show on leaflet all the 3 sites at once but I would like to show one ...
Salvador's user avatar
  • 1,467
0 votes
1 answer
198 views

How to use addStaticLabels with mapview

I am trying to use addStaticLabels with mapview but the outline of the map disapears. Could someone help me figure out what's going on? If I run: library(mapview) library(leafem) mapview(franconia) ...
Salvador's user avatar
  • 1,467
0 votes
0 answers
188 views

How to add labels to mapview?

This may be an easy question but for some reason can't figure out how to add labels to each region or polygon in my real map. How can I add the NAME_ASCI names to this map? library(mapview) library(...
Salvador's user avatar
  • 1,467
0 votes
0 answers
55 views

How to create an interactive map of a stars object that has a time dimension?

Problem I have regular raster data with a time dimension. It comes as a stars object with the dimensions x, y, date. I want to visualize the stars raster with a timeslider (like this one or similar) - ...
chamaoskurumi's user avatar
0 votes
0 answers
63 views

Hot to expand an existing shapefile

I got a small shapefile here: https://login.filesanywhere.com/fs/v.aspx?v=8c6d62875b6371b5a3ac . I need to make it a little bigger by adding a border above along the coast and another border in the ...
Salvador's user avatar
  • 1,467
0 votes
1 answer
80 views

How to set an anchor and create polygons from shapefile

I am following up on the example here: How to make small polygons from shapefile and extract coordinates I am trying to adapt that example to a different shapefile but I am getting errors. The new ...
Salvador's user avatar
  • 1,467
1 vote
2 answers
227 views

How to make small polygons from shapefile and extract coordinates

I have a small shapefile here: https://login.filesanywhere.com/fs/v.aspx?v=8c6d62865c626fb4a2ab called bay.RDS library(tmap) library(leaflet) library(mapview) bay <- readRDS('bay.RDS') mapview(...
Salvador's user avatar
  • 1,467
-1 votes
1 answer
111 views

How to add circle to the mapview in python kivy

i am trying to add circle to mapview. To a certain position on the map. I'm trying to make the radius in map canvas units. and I want it to be attached to that place even when I move or zoom with the ...
w247397y's user avatar
1 vote
3 answers
1k views

MapView build: Expose secret google maps api key in app.json, is it safe?

I am building a new react native app with expo which uses google maps (MapView library), But, deploying a map with Google Maps requires to explecitly add maps api key in app.json as below : “android”:...
da45's user avatar
  • 361
0 votes
0 answers
221 views

R terra cannot create SpatVector from sf MULTILINESTRING if line contains only single point

I have an MULTILINESTRING sf that appears to be ok (see dput below), but when I try and convert it to a SpatVector using pv <- terra::vect(test2) I get the error: Error: [as,sf] coercion failed. ...
DarwinsBeard's user avatar
0 votes
0 answers
170 views

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/...
zorz's user avatar
  • 11
0 votes
0 answers
14 views

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 = ...
The GoodGameCrafter's user avatar
0 votes
0 answers
283 views

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 ...
Timon's user avatar
  • 21
0 votes
0 answers
118 views

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 ...
Teja Goud Kandula's user avatar
0 votes
0 answers
43 views

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 ...
Thomas Munro's user avatar

15 30 50 per page