qaztiel / tibiaguessr

www.tibiaguessr.com
GNU General Public License v3.0
4 stars 4 forks source link

get tibia map into leaflet #12

Closed qaztiel closed 1 year ago

qaztiel commented 1 year ago

we are able to create custom layers by importing the tiles/ maybe images into leaflet from https://github.com/tibiamaps/tibia-map-data using react leafletjs we need to import the tiles from tibia maps somehow, we may need a tile slicer to take the png's apart

2 options to get the map to work

  1. use someones generated maps/tiles - look in tibiamap repo and check if he has them somewhere maybe already
  2. generate our own tiles and host them for the app based on the png's
qaztiel commented 1 year ago

loaded ground level with imageoverlay from react leaflet, need to figure out how to add floors