Giter VIP home page Giter VIP logo

Comments (5)

tcassou avatar tcassou commented on July 28, 2024

Hi @yashkotadia,

Thanks for suggesting! In the current state, this package relies on the Google Static Maps API, which renders static images, on which the markers or other plots are drawn. So nothing very dynamic (at least yet)!
Could you elaborate a bit more on how that would look like to you, for me to see if there's a good way to do it? Or maybe you have an idea in mind already?
If there's an intuitive way to zoom in and out of the plot (never played with that), then we should be able to dynamically update the background map too.

Thanks!

from mapsplotlib.

yashkotadia avatar yashkotadia commented on July 28, 2024

image

I don't have any idea about the implementation, however, the scale at the bottom right of the picture uploaded is what I am referring to.

from mapsplotlib.

tcassou avatar tcassou commented on July 28, 2024

Thanks @yashkotadia for clarifying.
Given the static aspect of the maps currently used, not sure it would be straightforward..! I'll see if I can think of something, also feel free to work on a PR if you have ideas!

from mapsplotlib.

ChakChak1234 avatar ChakChak1234 commented on July 28, 2024

Hey @yashkotadia and @tcassou

I came across an idea while working on my project related to #12: Is it a viable option to specify a specific zoom by rounding down a zoom value and then cropping out the edges? For example, let's say you want zoom = 3.5, which can be achieved by setting the value zoom = 3 then cropping out the edges? I understand that the zoom value impacts the number of pixels in each longitude/latitude crossings.

from mapsplotlib.

tcassou avatar tcassou commented on July 28, 2024

Thanks for the suggestion! Not sure what this would look like, given the relatively poor default resolution.
I think what @yashkotadia was suggesting is a dynamic way to zoom in/out (see picture), which is tricky with static maps/plots. This could be done with widgets in Jupyter, but it would not work outside it for example.

from mapsplotlib.

Related Issues (17)

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.