Skip to main content

All Questions

Tagged with
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
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
0 votes
0 answers
184 views

How to create an interactive map of stars/raster object with arbitrary crs?

Problem I would like to create interactive maps of a regular grid that comes in a CRS which is not WGS84. In my case the CRS is EPSG:25833 which has unit metres. Given the comment here, it does not ...
chamaoskurumi's user avatar
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 ...
ayasugihada's user avatar
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/...
Andrew Brick's user avatar