This commit is contained in:
Matt Walsh
2022-12-08 15:05:51 -06:00
parent d0382e0de1
commit 5edf5cc947
3 changed files with 8 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ const categories = [
'Airport', 'Ferry', 'Marina', 'Pier', 'Port', 'Resort', // POI/Travel
'Postal', 'Populated Place',
];
const cats = categories.join(',');
const category = categories.join(',');
const init = () => {
document.getElementById('txtAddress').addEventListener('focus', (e) => {
@@ -54,7 +54,7 @@ const init = () => {
params: {
f: 'json',
countryCode: 'USA', // 'USA,PRI,VIR,GUM,ASM',
category: cats,
category,
maxSuggestions: 10,
},
dataType: 'json',