astridx / pkg_aggpxtrack

Joomla Custom Field for dispaying a GPX Track on a Map - you can choose an OpenStreetMap or GoogleMaps. With much options. For example: One option is an elevation profil.
https://www.astrid-guenther.de
GNU General Public License v3.0
6 stars 8 forks source link

No route displayed for some gpx files on my page #45

Closed FrankReisenhofer closed 1 year ago

FrankReisenhofer commented 1 year ago

Hello all together,

On my webside some routes are shown correctly and for some nothing is shown.

Working example: https://www.reisenhofer.de/index.php/de/fotos-de?view=article&id=461:hier-waren-wir-unterwegs-17&catid=42:albanien-2023

Not working example: https://www.reisenhofer.de/index.php/de/fotos-de?view=article&id=439:hier-waren-wir-unterwegs-16&catid=41:griechenland2022

Any idea what might cause this? Maybe a cashing issue?

astridx commented 1 year ago

What are your settings for Access-Control-Allow-Origin. See the message in the console at the bottom right on the image. x

FrankReisenhofer commented 1 year ago

@astridx : Thanks for your hint. I am not so familiar with debugging webpages..So I did not check the console output in the browser.

I adjusted the .htaccess file like described e.g. https://subscription.packtpub.com/book/web-development/9781784393779/4/ch04lvl1sec28/cors-in-joomla.

Looks like this is solving the issue. No clue why this was suddently necessary :-(.

Thanks for your help.