Comments (5)
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.
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.
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.
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.
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)
- AttributeError: module 'gmaps' has no attribute 'plot_markers' HOT 3
- how to know which color is which cluster? HOT 2
- Unusable Map Results HOT 3
- Heatmap returns error: UnicodeDecodeError: 'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128) HOT 12
- HTTP firbidden error HOT 5
- Integrate with GeoPandas? HOT 1
- Image positioning and zooming HOT 2
- Integrate into subplot HOT 3
- Heatmap colours are very dim HOT 2
- Polyline? HOT 3
- Allow passing API key without adding it to code (for install through pypi) HOT 1
- IOError: cannot identify image file <StringIO.StringIO instance HOT 6
- Filter out NaNs in lat/long
- Rotate map HOT 4
- Set upper limit in `get_zoom` function. HOT 3
- unable to import mapsplotlib HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapsplotlib.