Skip Menu |

This queue is for tickets about the Geo-OSM-StaticMap CPAN distribution.

Report information
The Basics
Id: 132793
Status: open
Priority: 0/
Queue: Geo-OSM-StaticMap

People
Owner: Nobody in particular
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.4
Fixed in: (no value)



Subject: Referrer
Thanks for your code. When I try the second example in the synopsis I am given the URL 'http://staticmap.openstreetmap.de/staticmap.php?center=51.6721152964047,-1.48951902731528&zoom=8&size=756x476&markers=51.8785011494,-0.3767887732,ol-marker|51.455313,-2.591902,ol-marker&maptype=mapnik' When I open it I'm told I need to give a valid referrer when using the static map script.
On Wed Jun 10 00:49:34 2020, NHORNE wrote: Show quoted text
> Thanks for your code. When I try the second example in the synopsis I > am given the URL > 'http://staticmap.openstreetmap.de/staticmap.php?center=51.6721152964047,- > 1.48951902731528&zoom=8&size=756x476&markers=51.8785011494,- > 0.3767887732,ol-marker|51.455313,-2.591902,ol-marker&maptype=mapnik' > > When I open it I'm told I need to give a valid referrer when using the > static map script.
See https://wiki.openstreetmap.org/wiki/StaticMapLite with the link to alternative methods: https://wiki.openstreetmap.org/wiki/Static_map_images