Skip to content

Commit

Permalink
Merge pull request #136 from bobosch/update-openlayers-7.4.0
Browse files Browse the repository at this point in the history
Update Openlayers to 7.4.0
  • Loading branch information
albig committed Jun 9, 2023
2 parents 0442800 + b2bccab commit 65fc0a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Classes/Provider/Openlayers.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ public function getMapCore($backpath = '')
GeneralUtility::getFileAbsFileName(Div::RESOURCE_BASE_PATH . 'OpenLayers/')
)
);
$pathOl = ($this->config['local_js'] ? $path : 'https://cdn.jsdelivr.net/npm/ol@v7.3.0/');
$pathOl = ($this->config['local_js'] ? $path : 'https://cdn.jsdelivr.net/npm/ol@v7.4.0/');
$pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
$pageRenderer->addCssFile($pathOl . 'ol.css');
$this->scripts['OpenLayers'] = [
'src' => $pathOl . 'dist/ol.js',
'sri' => 'sha512-K73qKSvojDplEsKTd/xKO4GgzEWWqunrpCcuwmhD9CPT2RCx+HiWFGnWIiDCz8bK3YXYL7cqBdu1fspIomEq1g=='
'sri' => 'sha512-xNjQ0wwgnfMHTwV4EkQjeUb49GIrLSjObebqJ+4j7zuOobmBgWFE+nW27WDU/CTndOjQtWkZMTEOZFiy3L31ng=='
];

// Do we need the layerswitcher? If so, some extra plugin is required.
Expand Down
4 changes: 2 additions & 2 deletions Resources/Public/OpenLayers/dist/ol.js

Large diffs are not rendered by default.

0 comments on commit 65fc0a9

Please sign in to comment.