Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

заменить на вебкартах OSM на Visicom #82

Open
ABiatov opened this issue Mar 3, 2024 · 0 comments
Open

заменить на вебкартах OSM на Visicom #82

ABiatov opened this issue Mar 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ABiatov
Copy link
Owner

ABiatov commented Mar 3, 2024

https://tms.visicom.rest/2.0.0/world,ua/base/{z}/{x}/{-y}.png

 type=xyz&https://tms.visicom.rest/2.0.0/world,ua/base/{z}/{x}/{-y}.png&zmax=19&zmin=2

Картографічні дані © 2023, АТ «Візіком»
https://visicomdata.com
https://maps.visicom.ua

attribution: 'Картографічні дані &copy; <a href="https://maps.visicom.ua" target="_blank">2023, АТ «Візіком»</a>'

второй пример сверху https://rstudio.github.io/leaflet/reference/map-layers.html

addTiles(
  map,
  urlTemplate = "https://tms.visicom.rest/2.0.0/world,ua/base/{z}/{x}/{-y}.png",
  attribution = 'Картографічні дані &copy; <a href="https://maps.visicom.ua" target="_blank">2023, АТ «Візіком»</a>',
  layerId = NULL,
  group = NULL,
  options = tileOptions(),
  data = getMapData(map)
)

Первый пример сверху https://rstudio.github.io/leaflet/reference/map-options.html

tileOptions(
  minZoom = 2,
  maxZoom = 18,
  maxNativeZoom = NULL,
  tileSize = 256,
  subdomains = "abc",
  errorTileUrl = "",
  tms = FALSE,   // проверить этот параметр
  noWrap = FALSE,
  zoomOffset = 0,
  zoomReverse = FALSE,
  opacity = 1,
  zIndex = 1,
  unloadInvisibleTiles = NULL,
  updateWhenIdle = NULL,
  detectRetina = FALSE,
  ...
)
@ABiatov ABiatov added the bug Something isn't working label Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant