POST
|
Is it possible to speed up the drawing of a vector map with an integrated video card.
... View more
01-15-2018
04:51 PM
|
0
|
1
|
535
|
POST
|
public delegate void dlgFind(int sfF); public event dlgFind onFind; public async void FindObj(string fnTxt) { _i = 0; _findOverley.Graphics.Clear(); var gm = (Esri.ArcGISRuntime.Geometry.Geometry)MyMapView.VisibleArea; var mapCenter = MyMapView.GetCurrentViewpoint(ViewpointType.CenterAndScale).TargetGeometry as MapPoint; var geocodeParams = new GeocodeParameters { MaxResults = 10, PreferredSearchLocation = mapCenter, CountryCode = "RUS", OutputLanguage = new System.Globalization.CultureInfo("ru-RU"), OutputSpatialReference = SpatialReferences.Wgs84 }; results = await locator.GeocodeAsync(fnTxt, geocodeParams); if (results.Count == 0) { MessageBox.Show("По вашему запросу ничего не найдено!", "Ничего не найдено", MessageBoxButton.OK, MessageBoxImage.Information); return; } onFind?.Invoke(1); string pathStr = @"pack://application:,,,/ctlGeoViev;component/Images/places16.png"; Uri cUri = new Uri(pathStr); PictureMarkerSymbol _ps = new PictureMarkerSymbol(cUri); _ps.OffsetY = 12; var seekY = results[0].InputLocation.Y; var seekX = results[0].InputLocation.X; Graphic gr = new Graphic(mp, _ps); _findOverley.Graphics.Add(gr); } public async void FindObjNext() { _i++; if (_i < results.Count) { _findOverley.Graphics.Clear(); string pathStr = @"pack://application:,,,/ctlGeoViev;component/Images/places16.png"; Uri cUri = new Uri(pathStr); PictureMarkerSymbol _ps = new PictureMarkerSymbol(cUri); _ps.OffsetY = 12; var seekY = results[_i].InputLocation.Y; var seekX = results[_i].InputLocation.X; Graphic gr = new Graphic(mp, _ps); _findOverley.Graphics.Add(gr); } else { _findOverley.Graphics.Clear(); onFind?.Invoke(0); MessageBox.Show("Поиск завершен!", "", MessageBoxButton.OK, MessageBoxImage.Information); } }
... View more
09-17-2017
10:51 PM
|
0
|
0
|
339
|
POST
|
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
... View more
09-13-2017
06:37 PM
|
0
|
2
|
467
|
POST
|
Does ArcGIS have standard tools for measuring distances and areas?
... View more
07-20-2017
11:20 PM
|
1
|
3
|
918
|
POST
|
How to determine the name of a settlement or object on a point on a map using a locator
... View more
06-29-2017
06:18 PM
|
0
|
1
|
712
|
POST
|
I need to create a composite symbol based on bitmap and text, which should be in the lower right corner of the bitmap. When creating a symbol with standard text, the text is inserted into the center. How to put it in the lower right corner?
PictureMarkerSymbol _ps = new PictureMarkerSymbol(new Uri(pathStr));
var textsymbol = new TextSymbol()
{
HorizontalAlignment = Esri.ArcGISRuntime.Symbology.HorizontalAlignment.Right,
VerticalAlignment = Esri.ArcGISRuntime.Symbology.VerticalAlignment.Bottom,
Text = count.ToString(),
FontFamily = "Arial",
Size = 9,
Color = Colors.Red,
FontStyle = Esri.ArcGISRuntime.Symbology.FontStyle.Oblique
};
csymbol.Symbols.Add(_ps);
csymbol.Symbols.Add(textsymbol);
Symbol symbol = csymbol;
... View more
06-22-2017
06:58 PM
|
0
|
2
|
1299
|
POST
|
When the mouse pointer over the object of the graveyard is displayed, it is necessary to display a pop-up window with information on a specific object. How to do it? What event is triggered when the mouse is over the object, and how to handle it?
... View more
06-13-2017
06:14 PM
|
0
|
1
|
855
|
POST
|
I search for objects on the map using the local locator. The search works and finds objects. But I can not understand how to extract the geographical coordinates of the found volume from the search results.
... View more
06-06-2017
06:37 PM
|
0
|
1
|
737
|
POST
|
I need to write code that returns the geographical coordinates of the location on the map where the mouse is clicked v100
... View more
05-23-2017
10:39 PM
|
0
|
2
|
1005
|
POST
|
how I can trac a mouse event on the PictureMarkerSymbol?
... View more
05-21-2017
11:08 PM
|
0
|
0
|
647
|
Title | Kudos | Posted |
---|---|---|
1 | 07-20-2017 11:20 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|