<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to adjust the resolution of a SceneView? in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/how-to-adjust-the-resolution-of-a-sceneview/m-p/1544030#M414</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am using the ArcGIS SDK for Swift to display a 3D scene like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;struct MySceneView: View {
    @StateObject private var vm = MySceneViewModel()

    var body: some View {
        SceneView(scene: vm.scene)
    }
}

@MainActor
final class MySceneViewModel: ObservableObject {
    @Published var scene = Scene(basemapStyle: .arcGISTopographic)

    init() {
        let camera = Camera(
            latitude: 37.752,
            longitude: -122.431,
            altitude: 800,
            heading: 0,
            pitch: 0,
            roll: 0
        )

        scene.initialViewpoint = .init(
            boundingGeometry: camera.location,
            rotation: 0,
            camera: camera
        )
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While the scene itself renders correctly, the font sizes of the labels on the base map are too small, making them difficult to read. This issue also occurs when I add a vector layer to the scene; both the labels and icons appear undersized.&lt;/P&gt;&lt;P&gt;I suspect that the problem is happening because the SceneView is rendering the base map at a 1x scale. On Retina displays, where the pixel density is 2x or 3x, this results in smaller visual elements. Is there a way to adjust the scale or resolution of the SceneView so that the elements become more readable on high-density displays?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 22:08:09 GMT</pubDate>
    <dc:creator>IgnisDev</dc:creator>
    <dc:date>2024-09-30T22:08:09Z</dc:date>
    <item>
      <title>How to adjust the resolution of a SceneView?</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/how-to-adjust-the-resolution-of-a-sceneview/m-p/1544030#M414</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am using the ArcGIS SDK for Swift to display a 3D scene like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;struct MySceneView: View {
    @StateObject private var vm = MySceneViewModel()

    var body: some View {
        SceneView(scene: vm.scene)
    }
}

@MainActor
final class MySceneViewModel: ObservableObject {
    @Published var scene = Scene(basemapStyle: .arcGISTopographic)

    init() {
        let camera = Camera(
            latitude: 37.752,
            longitude: -122.431,
            altitude: 800,
            heading: 0,
            pitch: 0,
            roll: 0
        )

        scene.initialViewpoint = .init(
            boundingGeometry: camera.location,
            rotation: 0,
            camera: camera
        )
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While the scene itself renders correctly, the font sizes of the labels on the base map are too small, making them difficult to read. This issue also occurs when I add a vector layer to the scene; both the labels and icons appear undersized.&lt;/P&gt;&lt;P&gt;I suspect that the problem is happening because the SceneView is rendering the base map at a 1x scale. On Retina displays, where the pixel density is 2x or 3x, this results in smaller visual elements. Is there a way to adjust the scale or resolution of the SceneView so that the elements become more readable on high-density displays?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 22:08:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/how-to-adjust-the-resolution-of-a-sceneview/m-p/1544030#M414</guid>
      <dc:creator>IgnisDev</dc:creator>
      <dc:date>2024-09-30T22:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust the resolution of a SceneView?</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/how-to-adjust-the-resolution-of-a-sceneview/m-p/1544398#M418</link>
      <description>&lt;P&gt;Thanks for reporting this issue.&lt;/P&gt;
&lt;P&gt;The root cause is that the labels base layer in our scene is rasterized, not kept as vector as in a map (like in other competitor 3D maps). I've passed this feedback to our team and will let you know what we're gonna do to fix this.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 16:59:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/how-to-adjust-the-resolution-of-a-sceneview/m-p/1544398#M418</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2024-10-01T16:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust the resolution of a SceneView?</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/how-to-adjust-the-resolution-of-a-sceneview/m-p/1545284#M424</link>
      <description>&lt;P&gt;Thanks! I'll be curious to know what you guys come up with.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:18:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/how-to-adjust-the-resolution-of-a-sceneview/m-p/1545284#M424</guid>
      <dc:creator>IgnisDev</dc:creator>
      <dc:date>2024-10-03T17:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to adjust the resolution of a SceneView?</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/how-to-adjust-the-resolution-of-a-sceneview/m-p/1547362#M438</link>
      <description>&lt;P&gt;We have logged an issue for this. It indeed looks like a problem with our DPI conversion. Will keep you posted when we make the fix.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 20:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/how-to-adjust-the-resolution-of-a-sceneview/m-p/1547362#M438</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2024-10-09T20:53:02Z</dc:date>
    </item>
  </channel>
</rss>

