<?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 Compose GeoViewProxy lacks GeoView ports in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/compose-geoviewproxy-lacks-geoview-ports/m-p/1597538#M560</link>
    <description>&lt;P&gt;Compose &lt;STRONG&gt;MapViewProxy&lt;/STRONG&gt;&amp;nbsp;lacks a bunch of APIs already accessible from the underlying&amp;nbsp;&lt;STRONG&gt;MapView&amp;nbsp;&lt;/STRONG&gt;/&amp;nbsp;&lt;STRONG&gt;GeoView&lt;/STRONG&gt;&amp;nbsp;e.g.:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;getCurrentViewpoint&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;layerViewStateChanged&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;Please, add those proxy getters to the MapViewProxy so we could experience the same level of integrity in the Compose world.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 20 Mar 2025 14:40:58 GMT</pubDate>
    <dc:creator>dev4567</dc:creator>
    <dc:date>2025-03-20T14:40:58Z</dc:date>
    <item>
      <title>Compose GeoViewProxy lacks GeoView ports</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/compose-geoviewproxy-lacks-geoview-ports/m-p/1597538#M560</link>
      <description>&lt;P&gt;Compose &lt;STRONG&gt;MapViewProxy&lt;/STRONG&gt;&amp;nbsp;lacks a bunch of APIs already accessible from the underlying&amp;nbsp;&lt;STRONG&gt;MapView&amp;nbsp;&lt;/STRONG&gt;/&amp;nbsp;&lt;STRONG&gt;GeoView&lt;/STRONG&gt;&amp;nbsp;e.g.:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;getCurrentViewpoint&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;layerViewStateChanged&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;Please, add those proxy getters to the MapViewProxy so we could experience the same level of integrity in the Compose world.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Mar 2025 14:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/compose-geoviewproxy-lacks-geoview-ports/m-p/1597538#M560</guid>
      <dc:creator>dev4567</dc:creator>
      <dc:date>2025-03-20T14:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compose GeoViewProxy lacks GeoView ports</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/compose-geoviewproxy-lacks-geoview-ports/m-p/1597787#M562</link>
      <description>&lt;P&gt;the `currentViewPoint` and the `layerViewState` values are available as callbacks from the Composable MapView,&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;onViewpointChangedForCenterAndScale: ((Viewpoint) -&amp;gt; Unit)? = null,
onViewpointChangedForBoundingGeometry: ((Viewpoint) -&amp;gt; Unit)? = null,

...
onLayerViewStateChanged: ((GeoView.GeoViewLayerViewStateChanged) -&amp;gt; Unit)? = null,&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-kotlin-toolkit/blob/main/toolkit/geoview-compose/src/main/java/com/arcgismaps/toolkit/geoviewcompose/MapView.kt#L132" target="_blank"&gt;https://github.com/Esri/arcgis-maps-sdk-kotlin-toolkit/blob/main/toolkit/geoview-compose/src/main/java/com/arcgismaps/toolkit/geoviewcompose/MapView.kt#L132&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-kotlin-toolkit/blob/main/toolkit/geoview-compose/src/main/java/com/arcgismaps/toolkit/geoviewcompose/MapView.kt#L157" target="_blank"&gt;https://github.com/Esri/arcgis-maps-sdk-kotlin-toolkit/blob/main/toolkit/geoview-compose/src/main/java/com/arcgismaps/toolkit/geoviewcompose/MapView.kt#L157&lt;/A&gt;&lt;/P&gt;&lt;P&gt;These callbacks are invoked everytime a new value for the viewpoint or layerViewState is available and provide you the latest value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We do have a method on the `GeoViewProxy` that you can use to find out the LayerViewState for a given layer at this time.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-kotlin-toolkit/blob/main/toolkit/geoview-compose/src/main/java/com/arcgismaps/toolkit/geoviewcompose/GeoViewProxy.kt#L305" target="_blank"&gt;https://github.com/Esri/arcgis-maps-sdk-kotlin-toolkit/blob/main/toolkit/geoview-compose/src/main/java/com/arcgismaps/toolkit/geoviewcompose/GeoViewProxy.kt#L305&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 20:42:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/compose-geoviewproxy-lacks-geoview-ports/m-p/1597787#M562</guid>
      <dc:creator>PuneetPrakash</dc:creator>
      <dc:date>2025-03-20T20:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compose GeoViewProxy lacks GeoView ports</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/compose-geoviewproxy-lacks-geoview-ports/m-p/1598057#M563</link>
      <description>&lt;P&gt;Here's a sample showing&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/blob/main/samples/generate-offline-map/src/main/java/com/esri/arcgismaps/sample/generateofflinemap/screens/MainScreen.kt#L74" target="_self"&gt;onLayerViewStateChanged&amp;nbsp;&lt;/A&gt;in use on a composable GeoView&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 15:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/compose-geoviewproxy-lacks-geoview-ports/m-p/1598057#M563</guid>
      <dc:creator>TrevorDraeseke</dc:creator>
      <dc:date>2025-03-21T15:43:04Z</dc:date>
    </item>
  </channel>
</rss>

