Skip to content

Conversation

@goto-10
Copy link

@goto-10 goto-10 commented May 5, 2022

related issue: #42 (comment)

changes:

  • converts getWorldByName to async function
    • checks for a local map.json first, then falls back to the cloud cdn if enabled (ui.useCloudTiles)
    • if cloud is used _useCloudTiles property is injected into the world data (checked in initMap fn)
  • refactored promise chain in processOp fn a bit to leverage the catch fn to show errors properly

@fank fank self-requested a review May 6, 2022 10:48
@indig0fox indig0fox merged commit 35528a4 into OCAP2:ind/leaflet-functionality May 7, 2022
@indig0fox indig0fox linked an issue May 24, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants