staticmap icon indicating copy to clipboard operation
staticmap copied to clipboard

A small, python-based library for creating map images with lines, markers and polygons.

Results 18 staticmap issues
Sort by recently updated
recently updated
newest added

https://github.com/openstreetmap/operations/issues/737

First of all, great library! Intuitive and simple - loving it. One thing i noticed is that tiles are being loaded when calling the `render()` method - which makes sense,...

The first example in the README ``` from staticmap import StaticMap, Line m = StaticMap(300, 400, 10) m.add_line(Line(((13.4, 52.5), (2.3, 48.9)), 'blue', 3)) image = m.render() image.save('map.png') ``` does not...

Hi, This PR initializes CI with: - existing tests fix - github action to run them on supported versions of Python. (see https://github.com/komoot/staticmap/pull/31)

Hello! I want to add a text to a specific lon/lat. Is this possible? For example, I want to add a marker with a name under it. For your reference,...

Hi there, it's a great library! Thank you for making it available. It would be helpful, if the library would accept access tokens for tile servers like: https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.****** https://api.maptiler.com/maps/{z}/{x}/{y}.png?key=*****

Uses CacheControl to cache tiles. This reduces the number of HTTP requests when re-rendering a map instance that has changed slightly. Haven't added CacheControl as a dependency because it's entirely...

```python from staticmap import StaticMap, CircleMarker m = StaticMap(800, 600) marker = CircleMarker((7.21733093261719, 51.4838951030122), '#0036FF', 12) m.add_marker(marker) image = m.render(zoom=14) ``` python27 staticmap 0.5.4 pillow 6.2.0

changed as little code as possible. but pathlib is Python 3.4+ only and will break 2.7 compatibility.

OSM images are only allowed to use, if you add a license hint: https://www.openstreetmap.org/copyright/en Can you please add a function for this?