Skip to content

Commit

Permalink
Merge branch 'richsage-openstreetmap-https'
Browse files Browse the repository at this point in the history
Closes #289
  • Loading branch information
akrabat committed Oct 30, 2015
2 parents 7c1cc14 + c8b04bd commit b6a7109
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/templates/Event/_common/form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
$(document).ready(function(){
// Setup the click handler for the search button.
$('#addr_search_button').click(function(){
$.getJSON('http://nominatim.openstreetmap.org/search?format=json&limit=5&q=' + $('#addr').val(), function(data) {
$.getJSON('https://nominatim.openstreetmap.org/search?format=json&limit=5&q=' + $('#addr').val(), function(data) {
var items = [];
var $addrSelector = $('#addr_selection');
Expand Down
2 changes: 1 addition & 1 deletion web/js/joindin-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

// Initialise the map
var map = new L.Map(mapDiv.attr('id'), {zoomControl: true});
var osmUrl = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
var osmUrl = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
osmAttribution = 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
osm = new L.TileLayer(osmUrl, {maxZoom: 18, attribution: osmAttribution});
map.setView(new L.LatLng(lat, lon), zoomLevel).addLayer(osm);
Expand Down

0 comments on commit b6a7109

Please sign in to comment.