Questions tagged [mapview]

76 questions
0
votes
1 answer

How can I replace the standard marker with canvas circles on MapView in Kivy?

I want to replace the standard marker of the MapMarkerPopup with a transparent pixel image. Instead I want to draw circles which are shown on the coordinates loaded from a CSV file (in this example just a list). The markers are placed correctly, but…
jan h
  • 5
  • 3
0
votes
1 answer

Placing a mapmarker by klick results in setting the marker on acorner of the map-window

I want to set markers on the map by clicking on it. When I click a marker is set. However, the marker is placed on the left lower corner of the map. What am I doing wrong? from kivymd.app import MDApp from kivy.lang import Builder from…
jan h
  • 5
  • 3
0
votes
0 answers

Swift 5 Map View calloutAccessoryControlTapped view open

I'm looking to open a details view when user clicks on the callout (calloutAccessoryControlTapped func). I'm setting the rightCalloutAccessoryView to a button that i hide and after, inside calloutAccessoryControlTapped i want to catch the event and…
acronimus
  • 1
  • 1
0
votes
0 answers

how to make smooth markers react native?

When this code is run the marker looks stuttering which is because onRegionChange has useState, does anyone know of a replacement? or if there is a replacement code for the marker so that it is in the middle and moves smoothly when the screen…
0
votes
0 answers

Add MarkerPopUp to MapView by clicking Button witch is in another class and problem with duplicating Layouts

Q1: add MarkerPopUp by clicking Button witch is in another class The app should import RINEX files from PC and add marker to MapView. Import is working, but I have a problem with connecting coordinates to the map. I don't know what can I do now,…
0
votes
2 answers

subset raster to separate two classes

I have a raster that is too large to post here but can be downloaded from here: https://login.filesanywhere.com/fs/v.aspx?v=8c6c688b586472bcab6a . When I plot it I see a mix of water and land. I would like to separate it with the following criteria:…
Salvador
  • 1,229
  • 1
  • 11
  • 19
0
votes
0 answers

Kivy MapView: Trace a line between the positions

I'm creating a tracker for my car, and one of the features I want to add is the vehicle's movement history. On the history screen, I retrieve the positions from the Firebase Realtime Database and I'm able to add markers on the map, but that's not…
0
votes
1 answer

Add the names of the polygons all the time in Mapview R?

I am using mapview in R to plot maps. I have more tha 100 polygons and I want to show them on the map with the names on it every time. But I couldn’t find a solution to this issue. Any…
0
votes
0 answers

How to have the name of the polygons all the time in Mapview R?

I am using mapview in R to plot maps. I have more tha 100 polygons and I want to show them on the map with the names on it every time. But I couldn’t find a solution to this issue. Any…
0
votes
1 answer

ERROR Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components)

I'm trying to test the Geojson library but I'm stuck on this error. I am sent below my app.js and package.json codes that was copied from this repository. App.js import React from 'react'; import MapView, {Geojson} from 'react-native-maps'; const…
0
votes
0 answers

How to remove projection information from Mapview in R

While generating maps thorough R i can see projection information coming over map like below: my code as follows: library(mapview) library(GADMTools) AdminLayer = readOGR("CHN_adm0.shp") mapView(AdminLayer, zcol = "Country", layer.name = NULL,…
Raj
  • 65
  • 2
  • 6
0
votes
1 answer

Map view function in R to add two shapefiles

What i am doing: I have two set of data sets one is Shapefile at county level for china and other is csv file which has some value against most of the county. I performed join between these two to create maps in R. Where i am now: I did everything…
Raj
  • 65
  • 2
  • 6
0
votes
0 answers

react-native-maps MapView rotation

I want to rotate the MapView as per the phone rotation. I am not getting a solution in official documentation, so I did a trick to do it by rotating the layout by setting the transform style but I can understand it is not the perfect solution…
0
votes
1 answer

How can I plot a map using ggplot2 that includes the latitude and longitude of the data?

I have data that includes the longitude and latitude of certain locations in Arizona however its over 9000 observations and ggplot2 keeps giving me "Error in st_as_sf.data.frame(data, coords = c(x, y), remove = FALSE, crs = crs) : missing values in…
Irving C.
  • 3
  • 2
0
votes
0 answers

Mapview in R bugs with large data-frame

I have to plot more than +400k points on R's mapview() library. I can plot without any problem. But I am not able to see the map bigger because it's extremely low. I am not able to search on the map because it bugs the plot. Do you know how can…