mirror of
https://github.com/xweiba/location-spoofer.git
synced 2026-09-21 22:30:46 +08:00
fix: 启动时检测一次瓦片类型
This commit is contained in:
@@ -574,6 +574,7 @@ let revision = mapState.selectMapTap(coordinate)
|
|||||||
private func initializeMap() {
|
private func initializeMap() {
|
||||||
guard !mapDidInitialize else { return }
|
guard !mapDidInitialize else { return }
|
||||||
mapDidInitialize = true
|
mapDidInitialize = true
|
||||||
|
CoordinateConverter.detectTileByFixedGeocode()
|
||||||
|
|
||||||
if let selected = favorites.selectedFavorite {
|
if let selected = favorites.selectedFavorite {
|
||||||
let display = CoordinateConverter.toDisplay(lat: selected.latitude, lon: selected.longitude)
|
let display = CoordinateConverter.toDisplay(lat: selected.latitude, lon: selected.longitude)
|
||||||
|
|||||||
Reference in New Issue
Block a user