<?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 Best class for handling bounding boxes in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/best-class-for-handling-bounding-boxes/m-p/1296569#M63</link>
    <description>&lt;P&gt;Hi, we are coming from OSMdroid and work with the class bounding box which specifies an area defined by two lon/lat pairs. Now that we migrate to ESRI Maps SDK I wonder what class you propose for such a bounding box.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 08:16:53 GMT</pubDate>
    <dc:creator>padmalcom</dc:creator>
    <dc:date>2023-06-07T08:16:53Z</dc:date>
    <item>
      <title>Best class for handling bounding boxes</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/best-class-for-handling-bounding-boxes/m-p/1296569#M63</link>
      <description>&lt;P&gt;Hi, we are coming from OSMdroid and work with the class bounding box which specifies an area defined by two lon/lat pairs. Now that we migrate to ESRI Maps SDK I wonder what class you propose for such a bounding box.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 08:16:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/best-class-for-handling-bounding-boxes/m-p/1296569#M63</guid>
      <dc:creator>padmalcom</dc:creator>
      <dc:date>2023-06-07T08:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Best class for handling bounding boxes</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/best-class-for-handling-bounding-boxes/m-p/1296577#M64</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/682249"&gt;@padmalcom&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Could you provide more details on which specific API calls or use case(s) you want to make/achieve with the&amp;nbsp;&lt;SPAN&gt;ESRI Maps SDK?&lt;BR /&gt;&lt;BR /&gt;I'm guessing you want to specify an area on the map, in which case you would likely want ot use &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.geometry/-envelope/index.html" target="_self"&gt;Envelope&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 08:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/best-class-for-handling-bounding-boxes/m-p/1296577#M64</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2023-06-07T08:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Best class for handling bounding boxes</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/best-class-for-handling-bounding-boxes/m-p/1296580#M65</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/46685"&gt;@GuntherHeppner&lt;/a&gt;, we are calling an api to get all points within an area - specifically on the area shown in the current mapView. I found Envelope but it does not use lat/lon but x/y and thus everything in me refuses to&amp;nbsp; use it since it is not geo specific. So I think we go with a custom data class. Nevertheless, thanks for your response.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 09:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/best-class-for-handling-bounding-boxes/m-p/1296580#M65</guid>
      <dc:creator>padmalcom</dc:creator>
      <dc:date>2023-06-07T09:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Best class for handling bounding boxes</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/best-class-for-handling-bounding-boxes/m-p/1296583#M66</link>
      <description>&lt;P&gt;An Envelope can handle lat/lon. It is used to specify a geographic area on the map, see the documentation on its base class &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.geometry/-geometry/index.html" target="_self"&gt;Geometry&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You might also want to take a look at &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.mapping.view/-map-view/screen-to-location.html" target="_self"&gt;MapView.screenToLocation&lt;/A&gt;, which allows you to convert a screen point to a geographic point in map coordinates. From these points you can then create an Envelope.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 09:40:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/best-class-for-handling-bounding-boxes/m-p/1296583#M66</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2023-06-07T09:40:18Z</dc:date>
    </item>
  </channel>
</rss>

