Skip to content

Commit

Permalink
assets/mapControllers: Update attribution and remove redundant token
Browse files Browse the repository at this point in the history
  • Loading branch information
rmader authored and fuzzylogic2000 committed Mar 10, 2021
1 parent 1fb9da3 commit f520228
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bplan/assets/js/app/components/map/mapControllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ angular.module('app.map.controllers', [])
});
var token = '9aVUrssbx7PKNUKo3WtXY6MqETI6Q336u5D142QS'
var colouredMap = L.mapboxGL({
accessToken: 'no-token',
style: 'https://maps.berlinonline.de/styles/klokantech-basic/style.json',
maxZoom: 19,
transformRequest: function (url, resourceType) {
Expand All @@ -144,7 +143,7 @@ angular.module('app.map.controllers', [])
}
}).addTo(map)

map.attributionControl.setPrefix('<a target="_blank" href="http://www.leafletjs.com">Leaflet</a>');
map.attributionControl.setPrefix('<a href=\"https://www.maptiler.com/copyright/\" target=\"_blank\">&copy; MapTiler</a> <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">&copy; OpenStreetMap contributors</a>');

$scope.districtMarkers = L.layerGroup();

Expand Down

0 comments on commit f520228

Please sign in to comment.