<?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 Map seach error in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/map-seach-error/m-p/597090#M7321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="" data-fulltext="" data-placeholder="Перевод" dir="ltr" style="color: #212121; background-color: #ffffff; border: none; font-size: 16px !important; padding: 0px 0.14em 0px 0px;"&gt;&lt;SPAN lang="en" style="border: 0px; font-weight: inherit; font-size: 16px;"&gt;Search by map (vector * .mmpk) returns the number of objects specified in the settings, but returns the same object. For example, when searching for "Street Sadovaya" returns several objects with the same coordinates. How to make it look for different objects&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 01:37:55 GMT</pubDate>
    <dc:creator>YuriGvozdev</dc:creator>
    <dc:date>2017-09-14T01:37:55Z</dc:date>
    <item>
      <title>Map seach error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/map-seach-error/m-p/597090#M7321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="" data-fulltext="" data-placeholder="Перевод" dir="ltr" style="color: #212121; background-color: #ffffff; border: none; font-size: 16px !important; padding: 0px 0.14em 0px 0px;"&gt;&lt;SPAN lang="en" style="border: 0px; font-weight: inherit; font-size: 16px;"&gt;Search by map (vector * .mmpk) returns the number of objects specified in the settings, but returns the same object. For example, when searching for "Street Sadovaya" returns several objects with the same coordinates. How to make it look for different objects&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 01:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/map-seach-error/m-p/597090#M7321</guid>
      <dc:creator>YuriGvozdev</dc:creator>
      <dc:date>2017-09-14T01:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Map seach error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/map-seach-error/m-p/597091#M7322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you be a little more specific? How are you doing the search? Do you have a small sample that reproduces the problem you're seeing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 17:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/map-seach-error/m-p/597091#M7322</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2017-09-15T17:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Map seach error</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/map-seach-error/m-p/597092#M7323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;public delegate void dlgFind(int sfF);&lt;BR /&gt; public event dlgFind onFind;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public async void FindObj(string fnTxt)&lt;BR /&gt; {&lt;BR /&gt; _i = 0;&lt;BR /&gt; _findOverley.Graphics.Clear();&lt;BR /&gt; var gm = (Esri.ArcGISRuntime.Geometry.Geometry)MyMapView.VisibleArea;&lt;/P&gt;&lt;P&gt;var mapCenter = MyMapView.GetCurrentViewpoint(ViewpointType.CenterAndScale).TargetGeometry as MapPoint;&lt;BR /&gt; var geocodeParams = new GeocodeParameters&lt;BR /&gt; {&lt;BR /&gt; MaxResults = 10,&lt;BR /&gt; PreferredSearchLocation = mapCenter,&lt;BR /&gt; CountryCode = "RUS",&lt;BR /&gt; OutputLanguage = new System.Globalization.CultureInfo("ru-RU"),&lt;BR /&gt; OutputSpatialReference = SpatialReferences.Wgs84&lt;BR /&gt; };&lt;BR /&gt;results = await locator.GeocodeAsync(fnTxt, geocodeParams);&lt;BR /&gt; if (results.Count == 0)&lt;BR /&gt; {&lt;BR /&gt; MessageBox.Show("По вашему запросу ничего не найдено!", "Ничего не найдено", MessageBoxButton.OK, MessageBoxImage.Information);&lt;BR /&gt; return;&lt;BR /&gt; }&lt;BR /&gt; onFind?.Invoke(1);&lt;BR /&gt; &lt;BR /&gt; string pathStr = @"pack://application:,,,/ctlGeoViev;component/Images/places16.png";&lt;BR /&gt; Uri cUri = new Uri(pathStr);&lt;BR /&gt; PictureMarkerSymbol _ps = new PictureMarkerSymbol(cUri);&lt;BR /&gt; _ps.OffsetY = 12;&lt;/P&gt;&lt;P&gt;var seekY = results[0].InputLocation.Y;&lt;BR /&gt; var seekX = results[0].InputLocation.X;&lt;/P&gt;&lt;P&gt;Graphic gr = new Graphic(mp, _ps);&lt;BR /&gt; _findOverley.Graphics.Add(gr);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public async void FindObjNext()&lt;BR /&gt; {&lt;BR /&gt; _i++;&lt;BR /&gt; if (_i &amp;lt; results.Count)&lt;BR /&gt; {&lt;BR /&gt; _findOverley.Graphics.Clear();&lt;BR /&gt; string pathStr = @"pack://application:,,,/ctlGeoViev;component/Images/places16.png";&lt;BR /&gt; Uri cUri = new Uri(pathStr);&lt;BR /&gt; PictureMarkerSymbol _ps = new PictureMarkerSymbol(cUri);&lt;BR /&gt; _ps.OffsetY = 12;&lt;/P&gt;&lt;P&gt;var seekY = results[_i].InputLocation.Y;&lt;BR /&gt; var seekX = results[_i].InputLocation.X;&lt;/P&gt;&lt;P&gt;Graphic gr = new Graphic(mp, _ps);&lt;BR /&gt; _findOverley.Graphics.Add(gr);&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; _findOverley.Graphics.Clear();&lt;BR /&gt; onFind?.Invoke(0);&lt;BR /&gt; MessageBox.Show("Поиск завершен!", "", MessageBoxButton.OK, MessageBoxImage.Information);&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 05:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/map-seach-error/m-p/597092#M7323</guid>
      <dc:creator>YuriGvozdev</dc:creator>
      <dc:date>2017-09-18T05:51:53Z</dc:date>
    </item>
  </channel>
</rss>

