Hello Andreas:
Sorry to bother you, but I am not expert at all on OpenLayers
and there is a problem that the map here:
https://www.osgeo.org/initiatives/geo-for-all/
is not displaying
If you view the source code, there are some links to openLayers
For example:
<link rel="stylesheet" href="https://openlayers.org/en/v4.2.0/css/ol.css" type="text/css">
And also there you can see a javascript script
<script>
$(document).ready(function () {
$.get(vars.adminUrl + '?action=getItems&postType=geo_for_all_lab&limit=-1&offset=0', function (response) {
response = JSON.parse(response);
updateMarkers(response.data);
});
...
etc
...
It was working, but suddenly it stopped working.
Can you give me a hand?
Everything is on word press, here is our repository
https://git.osgeo.org/gitea/osgeo/www_osgeo
(you will see a 404, because you need to log in using your ldap)
Any hint, will be appreciated
Regards
Vicky
···
Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44,
81739 München, Germany
Vicky Vergara
Operations Research
eMail: vicky@[georepublic.de](http://georepublic.de)
Web: [https://georepublic.info](https://georepublic.info)
Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9
Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl
Alex_M
February 26, 2019, 4:54pm
2
The script reference is broken. As visible in a browser debug window
"Loading failed for the <script> with source
“https://openlayers.org/en/v4.2.0/build/ol.js”\." ;
Something must have changed with regards to the location of the
openlayers build. Since v5.3 is the latest I assume this older variant
was removed from the site.
https://openlayers.org/en/v4.2.0/build/ol.js
The best solution is to keep a local copy on our server of the version
we need. https://github.com/openlayers/openlayers/releases/
2nd best is to use a js cdn
https://cdnjs.com/libraries/openlayers
Thanks,
Alex
On 2/26/19 07:51, Vicky Vergara wrote:
Hello Andreas:
Sorry to bother you, but I am not expert at all on OpenLayers
and there is a problem that the map here:
https://www.osgeo.org/initiatives/geo-for-all/
is not displaying
If you view the source code, there are some links to openLayers
For example:
<link rel="stylesheet"
href="https://openlayers.org/en/v4.2.0/css/ol.css" ; type="text/css">
And also there you can see a javascript script
<script> $(document).ready(function () { $.get(vars.adminUrl
+ '?action=getItems&postType=geo_for_all_lab&limit=-1&offset=0',
function (response) { response = JSON.parse(response);
updateMarkers(response.data); });...
etc
...
It was working, but suddenly it stopped working.
Can you give me a hand?
Everything is on word press, here is our repository
https://git.osgeo.org/gitea/osgeo/www_osgeo
(you will see a 404, because you need to log in using your ldap)
Any hint, will be appreciated
Regards
Vicky
_______________________________________________
Sac mailing list
Sac@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/sac