Giter Club home page Giter Club logo

Comments (11)

Nautic avatar Nautic commented on August 17, 2024

For which site do you want to use OpenSeaMap?
https://map.openseamap.org/ works fine, the integration in https://openseamap.org too.

from online_chart.

Dirk-- avatar Dirk-- commented on August 17, 2024

Tile server supports https, too:
https://t1.openseamap.org/seamark/14/8581/5296.png
https://t2.openseamap.org/tile/6/34/20.png

from online_chart.

runette avatar runette commented on August 17, 2024

from online_chart.

runette avatar runette commented on August 17, 2024

BTW - "not for nothing" (a curious but useful English phrase) but just so as you know ...

https://map.openseamap.org/ works fine,

Actually - no it doesn't. Certainly, on my Chrome browser it reports as "Not Secure" because of mixed content and they are all starting to get much stricter about that.

As a case in point :

the integration in https://openseamap.org too.

Actually - no it doesn't. Again in my Chrome Browser the map does NOT show when accessed using https. This is because of mixed content and the page works in HTTP!

from online_chart.

smurfix avatar smurfix commented on August 17, 2024

While that's correct, you initially wrote

The current servers for OpenSeaMap only seem to serve HTTP

which is quite obviously not correct.

It would have been a lot more helpful if you had actually looked at the traffic and told us which content it fetches via HTTP-no-S, instead of expecting us to do that, esp. since it's entirely possible that depending on personal settings the problem doesn't always show up.

TBH: It's loading tiles from http://t1.openseamap.org.

from online_chart.

smurfix avatar smurfix commented on August 17, 2024

Also (and worse), openseamap.org tries to load OpenLayers.js and OpenStreetMap.js without SSL. Current Firefox already blocks that, making the page somewhat unuseable.

from online_chart.

runette avatar runette commented on August 17, 2024

To be completely correct, I am not trying to get map.openseamap.org to do anything - I am adding the seamarks as an overlay to another map in OpenLayers. That was probably slightly lost since my spell checker keeps changing "seamarks" to "earmarks"! {and I am English and I have no idea what an "earmark" would be!}.

All of the documentation (e.g. http://wiki.openseamap.org/wiki/OpenSeaMap_in_Website) and the actual site retro-engineered all access this using HTTP. This Dirk's response solved the problem - although I thought I had tried that. I must have had a typo.

The additional comment was intended to be helpful - those sites are not working correctly. Depending on which browser you are using one or both sites is broken because of mixed content and the situation will only get worse. This is not intended to be a criticism, but if you think they are working then you need to know that they are not.

from online_chart.

smurfix avatar smurfix commented on August 17, 2024

We still have HTTP content on an HTTPS site, which means that https://openseamap.org/ doesn't show a chart on recent Firefox et al.
Thus I'm re-opening this.

from online_chart.

stevo01 avatar stevo01 commented on August 17, 2024

We still have HTTP content on an HTTPS site, which means that https://openseamap.org/ doesn't show a chart on recent Firefox et al.
Thus I'm re-opening this.

For me it seems to be a issue for https://github.com/OpenSeaMap/website instead of of project https://github.com/OpenSeaMap/online_chart/.

from online_chart.

smurfix avatar smurfix commented on August 17, 2024

Right … I was confused. sorry. Closing.

from online_chart.

stevo01 avatar stevo01 commented on August 17, 2024

I added javascript files for openlayers to directory "/var/www/openseamap/typo3/js" and made update in file ./typo3/fileadmin/template/resources/addhead/addhead_start.txt.

from online_chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.