mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
code refactor
This commit is contained in:
@@ -71,9 +71,9 @@ export function createLeafletMapInstance(mapHolder, mapContainer, options) {
|
|||||||
const param = mapTileSource.tileUrlExtraParams[i];
|
const param = mapTileSource.tileUrlExtraParams[i];
|
||||||
|
|
||||||
if (param.paramValueType === 'tomtom_key') {
|
if (param.paramValueType === 'tomtom_key') {
|
||||||
params.push('key=' + getTomTomMapAPIKey());
|
params.push(param.paramName + '=' + getTomTomMapAPIKey());
|
||||||
} else if (param.paramValueType === 'language' && options.language) {
|
} else if (param.paramValueType === 'language' && options.language) {
|
||||||
params.push('language=' + options.language);
|
params.push(param.paramName + '=' + options.language);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user