support tomtom map

This commit is contained in:
MaysWind
2023-06-18 20:48:52 +08:00
parent 68a6d1c166
commit dbcd2897a4
10 changed files with 75 additions and 11 deletions
+3
View File
@@ -104,7 +104,10 @@ export default {
}
if (!this.mapHolder.inited) {
const languageInfo = this.$locale.getCurrentLanguageInfo();
initMapInstance(this.mapHolder, this.$refs.map, {
language: languageInfo ? languageInfo.code : null,
initCenter: this.initCenter,
zoomLevel: this.zoomLevel,
text: {