This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Do the osm.org tile servers support HTTPS?

0
1

I am using OpenLayer to load OpenStreetMap. Using this js : http://www.openlayers.org/api/OpenLayers.js which doesn't support https and hence the map is not load. I have a app which has a requirement to use all url having https support. Is there any way to Use the HTTPS SDK of OpenLayer or OpenStreetMap and Load the Map ?

asked 02 May '14, 15:38

Vivek%20Tankaria's gravatar image

Vivek Tankaria
1111
accept rate: 0%

edited 02 May '14, 16:35

Jonathan%20Bennett's gravatar image

Jonathan Ben...
8.3k1785108


One Answer:

3

OpenLayers is a separate project, and not part of OpenStreetMap. But yes, you can use the javascript over https by downloading it and serving it from your own servers.

The map tiles from OpenStreetMap are available over https.

answered 02 May '14, 17:08

Andy%20Allan's gravatar image

Andy Allan
12.5k23128153
accept rate: 28%

edited 02 May '14, 17:09

1

Hi Andy,

Thanks for your quick reply. Alternative to hosting the library on a server and use it . I downloaded the library and just included the OpenLayers.js , marker image and required css file in the app and the map loads perfect.

(05 May '14, 10:09) Vivek Tankaria

Source code available on GitHub .