Browse Source

update zmp

pull/1/head
sasbot 3 years ago
parent
commit
bd51cd5cae
2 changed files with 9 additions and 2 deletions
  1. +8
    -1
      Osm/osm_mapnik.zmp/GetUrlScript.txt
  2. +1
    -1
      Osm/osm_mapnik.zmp/params.txt

+ 8
- 1
Osm/osm_mapnik.zmp/GetUrlScript.txt View File

@@ -1,3 +1,10 @@
begin
ResultURL:=GetURLBase+'/'+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'.png';
ResultURL:=GetURLBase+'/'+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'.png';
RequestHead:='User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0' + #13#10 +
'Accept: image/png,image/*;q=0.8,*/*;q=0.5' + #13#10 +
'Accept-Language: en-us,en;q=0.5' + #13#10 +
'Accept-Encoding: gzip, deflate' + #13#10 +
'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' + #13#10 +
'Connection: keep-alive' + #13#10 +
'Referer: http://www.openstreetmap.org/' + #13#10;
end.

+ 1
- 1
Osm/osm_mapnik.zmp/params.txt View File

@@ -6,7 +6,7 @@ name=MAPNIK (OpenStreetMap)
name_en=MAPNIK (OpenStreetMap)
name_uk=Mapnik (OpenStreetMap)
NameInCache=osmmapMapnik
DefURLBase=http://a.tile.openstreetmap.org/
DefURLBase=http://a.tile.openstreetmap.org
ContentType=image/png
Ext=.png
projection=1


Loading…
Cancel
Save