From 5c785c38237ac8c5a33008f9232353ccac1da922 Mon Sep 17 00:00:00 2001 From: Jack Dougherty Date: Sun, 19 Mar 2017 19:58:10 -0400 Subject: [PATCH] Author Code Credit, Repo; default basemap --- scripts/constants.js | 4 ++-- scripts/map.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/constants.js b/scripts/constants.js index 0884298db..888c4e7d5 100755 --- a/scripts/constants.js +++ b/scripts/constants.js @@ -12,8 +12,8 @@ var constants = { _mapTitleDisplay: 'Display Title', _authorName: 'Author Name', _authorURL: 'Author Email or Website', - _codeCredit: 'Code Credit', - _githubRepo: 'Author GitHub Repo Link', + _codeCredit: 'Author Code Credit', + _githubRepo: 'Author Code Repo', // Map Settings _tileProvider: 'Basemap Tiles', _markercluster: 'Cluster Markers', diff --git a/scripts/map.js b/scripts/map.js index ac18cca91..2be014496 100755 --- a/scripts/map.js +++ b/scripts/map.js @@ -801,7 +801,7 @@ $(window).on('load', function() { * Loads the basemap and adds it to the map */ function addBaseMap() { - var basemap = trySetting('_tileProvider', 'Stamen.TonerLite'); + var basemap = trySetting('_tileProvider', 'CartoDB.Positron'); L.tileLayer.provider(basemap, { maxZoom: 18 }).addTo(map);