Code Monkey home page Code Monkey logo

Comments (5)

david-rhodes avatar david-rhodes commented on July 20, 2024 1

@AndrewIK

If implementing zoom for slippy map is not on the near future roadmap, can you please advise on the right approach to it?

Thanks for writing the ticket! First of all, a better slippy implementation (including dynamic zoom) is on our roadmap. Currently, though, your best bet to to ensure you reinitialize the factories (as seen in MapController.cs). This will clear the internal tile dictionaries. We'll probably add an Unregister(UnityTile tile) method to Factory.cs to help clean up some of these errors that pop up (remove dependencies of tiles that need to be destroyed or pooled).

We're working on it, but I hope this is enough information to help in the meantime.

from mapbox-unity-sdk.

AndrewIK avatar AndrewIK commented on July 20, 2024

thanks for the directions, I'll close it now

from mapbox-unity-sdk.

david-rhodes avatar david-rhodes commented on July 20, 2024

@AndrewIK you may want to look at #74. There are several performance and architecture improvements. We have not yet implemented zooming, but tiles have a cancel hook now, and the factories should respect that. We will try to add zooming soon!

from mapbox-unity-sdk.

mrgithub avatar mrgithub commented on July 20, 2024

+1 for this feature. Any idea when this will be released?

from mapbox-unity-sdk.

david-rhodes avatar david-rhodes commented on July 20, 2024

@mrgithub This is already in the SDK in a few forms. You can now reinitialize a map component with a different location and zoom level. Additionally, we have a DynamicZoomMap which operates much like a basic web map.

from mapbox-unity-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.