feat(map): amap as map api provider and display template

This commit is contained in:
A1phaN
2026-09-07 10:04:12 +08:00
committed by Maurice
parent a066c94ec5
commit 57eac32f9f
92 changed files with 2910 additions and 70 deletions
+12
View File
@@ -174,6 +174,18 @@ const admin: TranslationStrings = {
'admin.weatherKeyHint': 'For weather data. Free at openweathermap.org',
'admin.unsplashKey': 'Unsplash API Key',
'admin.unsplashKeyHint': 'For image search. Free at unsplash.com/developers',
'admin.amapKey': 'Amap (高德地图) API Key',
'admin.amapKeyHint':
'For place search inside mainland China, where Google is unreachable and OpenStreetMap coverage is thin. Needs a "Web 服务" (web service) key, not a JS API key. Get one at console.amap.com.',
'admin.placesProvider.title': 'Place search provider',
'admin.placesProvider.subtitle':
'Which service answers place search, autocomplete and details. Automatic uses Google when a Google key is configured, then Amap, then OpenStreetMap.',
'admin.placesProvider.auto': 'Automatic',
'admin.placesProvider.google': 'Google Places',
'admin.placesProvider.amap': 'Amap (高德地图)',
'admin.placesProvider.openstreetmap': 'OpenStreetMap',
'admin.placesProvider.missingKey': 'The selected provider has no API key configured, so place search falls back to OpenStreetMap.',
'admin.placesProvider.saved': 'Place search provider saved',
'admin.validateKey': 'Test',
'admin.keyValid': 'Connected',
'admin.keyInvalid': 'Invalid',