Skip to content

Commit 8568ae9

Browse files
committed
fix attribution
1 parent 0084730 commit 8568ae9

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

src/js/fishfryform.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ $(function () {
3333

3434
basemap = L.tileLayer(
3535
"https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png", {
36-
maxZoom: 18,
37-
attribution: 'Tiles via <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> license. Basemap data from <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a> license.'
38-
}
36+
maxZoom: 18,
37+
attribution: 'Basemap from <a href="http://www.carto.com">CARTO</a>. | <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a> license.'
38+
}
3939
).addTo(map);
4040

4141
// fishfryLayer = L.geoJSON(null).addTo(map);
@@ -144,14 +144,14 @@ $(function () {
144144
highlight: true,
145145
hint: false
146146
}, {
147-
name: "Mapbox",
148-
displayKey: "name",
149-
source: addressSearch.ttAdapter(),
150-
templates: {
151-
header: "<p class='typeahead-header'>Select address:</p>",
152-
suggestion: Handlebars.compile(["{{name}}"].join(""))
153-
}
154-
})
147+
name: "Mapbox",
148+
displayKey: "name",
149+
source: addressSearch.ttAdapter(),
150+
templates: {
151+
header: "<p class='typeahead-header'>Select address:</p>",
152+
suggestion: Handlebars.compile(["{{name}}"].join(""))
153+
}
154+
})
155155
.on("typeahead:selected", function (obj, datum) {
156156
// once an address is selected from the drop-down:
157157
console.log("You found: ", datum);

0 commit comments

Comments
 (0)