Skip to content

Commit

Permalink
Merge pull request #189 from floptical/feature/new-zoning-tiles
Browse files Browse the repository at this point in the history
use 256x256 and png8 format to hit cached tiles
  • Loading branch information
ajrothwell authored May 6, 2024
2 parents 7935a5b + 9a6d988 commit fddf2f6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/general/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ export default {
minzoom: 0,
maxzoom: 22,
},
// https://gis-svc.databridge.phila.gov/arcgis/rest/services/Atlas/ZoningMap/MapServer/export?dpi=110\
source: {
tiles: [
'https://citygeo-geoserver.databridge.phila.gov/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=atlas_zoning_grouped&bbox={bbox-epsg-3857}&width=1024&height=1024&srs=EPSG%3A3857&styles=&format=image/png&transparent=true',
// 'https://citygeo-geocoder-pub.databridge.phila.gov/arcgis/rest/services/Atlas/ZoningMap/MapServer/export?dpi=120\
// &transparent=true\
// &format=png32\
// &bbox={bbox-epsg-3857}\
// &bboxSR=3857\
// &imageSR=3857\
// &size=512,512\
// &f=image\
// ',
'https://citygeo-geoserver.databridge.phila.gov/geoserver/wms?service=WMS\
&version=1.3.0\
&request=GetMap\
&layers=atlas_zoning_grouped\
&bbox={bbox-epsg-3857}\
&width=256\
&height=256\
&srs=EPSG%3A3857\
&format=image/png8\
&transparent=true\
',
],
type: 'raster',
tileSize: 1024,
Expand Down

0 comments on commit fddf2f6

Please sign in to comment.