flopp / py-staticmaps

A python module to create static map images with markers, geodesic lines, etc.
MIT License
128 stars 17 forks source link

Add extra pixel bounds to add_bounds() method #18

Closed lowtower closed 2 years ago

lowtower commented 3 years ago

This PR adds the possibility to not only add arbitrary bounds with the add_bounds() method, but also extra_pixel_bounds. The idea of the PR is to add py-staticmaps as background image to GpxTrackPoster heatmaps. The heatmaps are generated with three lines with different thicknesses and transparencies. In edge cases it is possible that the static map doesn't cover the thickness of the heatmap line.

flopp commented 2 years ago

Thanks, ans sorry for the late merge...