Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

leaflet extensions for mapview

License

NotificationsYou must be signed in to change notification settings

r-spatial/leafem

Repository files navigation

R-CMD-checkcran checksmonthlytotalCRAN

leafem provides extensions for packageleaflet many of which areused by packagemapview. The intention of this package is to enhanceleaflet functionality to provide a more GIS-like feeling when plottingspatial data interactively.

Installation

You can install the released version of leafem fromCRAN with:

install.packages("leafem")

Extensions

addFeatures

library(leaflet)leaflet() %>% addProviderTiles("OpenStreetMap") %>% addFeatures(data=breweries91)

addMouseCoordinates

leaflet() %>%  addProviderTiles("OpenStreetMap") %>%  addMouseCoordinates()

garnishMap

library(leaflet)m<- leaflet() %>% addProviderTiles("OpenStreetMap")garnishMap(m,addMouseCoordinates)

addHomeButton

library(leaflet)library(raster)m<- leaflet() %>%  addProviderTiles("OpenStreetMap") %>%  addCircleMarkers(data=breweries91) %>%  addHomeButton(extent(breweries91),"breweries91")m

addImageQuery

library(leaflet)library(plainview)leaflet() %>%  addProviderTiles("OpenStreetMap") %>%  addRasterImage(poppendorf[[1]],project=TRUE,group="poppendorf",layerId="poppendorf") %>%  addImageQuery(poppendorf[[1]],project=TRUE,layerId="poppendorf") %>%  addLayersControl(overlayGroups="poppendorf")

addLogo

img<-"https://www.r-project.org/logo/Rlogo.svg"leaflet() %>% addTiles() %>% addLogo(img,url="https://www.r-project.org/logo/")

Code of Conduct

Please note that the ‘leafem’ project is released with aContributorCode ofConduct.By participating in this project you agree to abide by its terms.

About

leaflet extensions for mapview

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors14


[8]ページ先頭

©2009-2026 Movatter.jp