NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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


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.

permanent link

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×362
×122
×19

question asked: 02 May '14, 15:38

question was seen: 4,993 times

last updated: 05 May '14, 10:36

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum