|
@ -198,33 +198,33 @@ function generate($params, $filename, $assetPath) { |
|
|
|
|
|
|
|
|
$tileServices = array( |
|
|
$tileServices = array( |
|
|
'streets' => array( |
|
|
'streets' => array( |
|
|
'http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{Z}/{Y}/{X}' |
|
|
|
|
|
|
|
|
'https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{Z}/{Y}/{X}' |
|
|
), |
|
|
), |
|
|
'satellite' => array( |
|
|
'satellite' => array( |
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{Z}/{Y}/{X}' |
|
|
|
|
|
|
|
|
'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{Z}/{Y}/{X}' |
|
|
), |
|
|
), |
|
|
'hybrid' => array( |
|
|
'hybrid' => array( |
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{Z}/{Y}/{X}', |
|
|
|
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{Z}/{Y}/{X}' |
|
|
|
|
|
|
|
|
'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{Z}/{Y}/{X}', |
|
|
|
|
|
'https://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{Z}/{Y}/{X}' |
|
|
), |
|
|
), |
|
|
'topo' => array( |
|
|
'topo' => array( |
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{Z}/{Y}/{X}' |
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{Z}/{Y}/{X}' |
|
|
), |
|
|
), |
|
|
'gray' => array( |
|
|
'gray' => array( |
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{Z}/{Y}/{X}', |
|
|
|
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer/tile/{Z}/{Y}/{X}' |
|
|
|
|
|
|
|
|
'https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{Z}/{Y}/{X}', |
|
|
|
|
|
'https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer/tile/{Z}/{Y}/{X}' |
|
|
), |
|
|
), |
|
|
'gray-background' => array( |
|
|
'gray-background' => array( |
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{Z}/{Y}/{X}', |
|
|
|
|
|
|
|
|
'https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{Z}/{Y}/{X}', |
|
|
), |
|
|
), |
|
|
'oceans' => array( |
|
|
'oceans' => array( |
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/tile/{Z}/{Y}/{X}' |
|
|
|
|
|
|
|
|
'https://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/tile/{Z}/{Y}/{X}' |
|
|
), |
|
|
), |
|
|
'national-geographic' => array( |
|
|
'national-geographic' => array( |
|
|
'http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{Z}/{Y}/{X}' |
|
|
|
|
|
|
|
|
'https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{Z}/{Y}/{X}' |
|
|
), |
|
|
), |
|
|
'osm' => array( |
|
|
'osm' => array( |
|
|
'http://tile.openstreetmap.org/{Z}/{X}/{Y}.png' |
|
|
|
|
|
|
|
|
'https://tile.openstreetmap.org/{Z}/{X}/{Y}.png' |
|
|
), |
|
|
), |
|
|
'stamen-toner' => array( |
|
|
'stamen-toner' => array( |
|
|
'http://tile.stamen.com/toner/{Z}/{X}/{Y}.png' |
|
|
'http://tile.stamen.com/toner/{Z}/{X}/{Y}.png' |
|
|