Post

Replies

Boosts

Views

Activity

Reply to MapKit JS TileOverlay tile size
But wouldn't this require that the API supports this scale query parameter? I'm using a public API, which I have no control over, and the API does not recognise this parameter or any other scale argument like @2x etc. Wouldn't the tile size need to be configured for the TileOverlay object itself? Now it seems to default to 512x512, and I would need to change that size to make the PNG tiles appear sharper, right? I just checked and the map tile API seems to have tile dimensions of 256x256, which would appear blurry if drawn at 512x512. In UIKit, it is possible to set the tileSize for a MKTileOverlay, which solves this problem for my native app. https://developer.apple.com/documentation/mapkit/mktileoverlay var tileSize: CGSize The size (in pixels) of your tile images. The MapKit JS TileOverlay object does not offer a similar property, as far as I can see https://developer.apple.com/documentation/mapkitjs/mapkit/tileoverlay/2974035-mapkit_tileoverlay
Dec ’20
Reply to Crash on launch from all TestFlight builds, but when loading the app from Xcode
More symbols seem to be missing in addition to just NSDecimal. I'm getting the following crash when building with Xcode 16.0 (16A242d) to an iPhone running iOS 16.7.8. dyld[75345]: Symbol not found: _NSURLDirectoryEntryCountKey Referenced from: <UUID> /private/var/containers/Bundle/Application/<UUID>/MyApp.app/MyApp.debug.dylib Expected in: <UUID> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation Commenting out all code using URLResourceValues.directoryEntryCountKey fixes the build and it launches successfully on the iPhone.
Sep ’24