Skip to content

Commit

Permalink
Merge branch 'qgis_server' of github.com:kartoza/geonode into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni committed Jun 7, 2016
2 parents d1df930 + cea7c0a commit ec28d44
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions geonode/maps/templates/leaflet_maps/map_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,6 @@ <h4 class="modal-title">Save Map</h4>


$(document).ready(function () {
// Populate radio button for background layer
populate_background_layer(background_layers_list, background_layers);


// Initiate map
{% if create %}
map = L.map('map', {
Expand All @@ -483,6 +479,8 @@ <h4 class="modal-title">Save Map</h4>
});
{% endif %}

// Populate radio button for background layer
populate_background_layer(background_layers_list, background_layers);

// Make sortable
var list = document.getElementById("layer-list");
Expand Down

0 comments on commit ec28d44

Please sign in to comment.