|
POST
|
You can make your own library of images and then you can access them from daml as Esri images
... View more
12-12-2024
07:13 AM
|
0
|
3
|
2668
|
|
POST
|
Hi,
Are you trying to run ArcGIS Pro SDK 3.4.x on ArcGIS Pro 3.3?
Your SDK version must be less or equal ArcGIS Pro version. You can run code compiled with ArcGIS Pro SDK 3.3 on ArcGIS Pro 3.4, but not otherwise.
... View more
12-11-2024
01:09 PM
|
0
|
0
|
1125
|
|
POST
|
Hi,
You can set xaml for smallImage, largeImage, overlaySmallImage and overlayLargeImage:
<button id="DockpaneSimple_Button1" caption="Button 1" className="Button1" loadOnClick="true"
smallImage="Images/ImageSmall.xaml"
largeImage="Images/ImageLarge.xaml">
<tooltip heading="Tooltip Heading">Tooltip text<disabledText /></tooltip>
Build action for project items ImageSmall.xaml and ImageLarge.xaml must be 'Content'.
My sample xaml:
<DrawingImage xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DrawingImage.Drawing>
<DrawingGroup>
<GeometryDrawing Brush="#00FFFFFF"
Geometry="M 0,0L 32,0L 32,32L 0,32L 0,0 Z " />
<GeometryDrawing Brush="#FFFF0000"
Geometry="F1 M 6.25,3.97918L 23.125,3.97918L 23.125,16.1458L 6.25,16.1458L 6.25,3.97918 Z ">
<GeometryDrawing.Pen>
<Pen LineJoin="Round"
Brush="#FF000000" />
</GeometryDrawing.Pen>
</GeometryDrawing>
<GeometryDrawing Brush="#FF00C800"
Geometry="F1 M 21.8542,11.0625C 26.399,11.0625 30.0833,14.7468 30.0833,19.2917C 30.0833,23.8365 26.399,27.5208 21.8542,27.5208C 17.3093,27.5208 13.625,23.8365 13.625,19.2917C 13.625,14.7468 17.3093,11.0625 21.8542,11.0625 Z ">
<GeometryDrawing.Pen>
<Pen LineJoin="Round"
Brush="#FF000000" />
</GeometryDrawing.Pen>
</GeometryDrawing>
<GeometryDrawing Brush="#FFFFFF00"
Geometry="F1 M 16.8731,14.9035L 11.9668,16.2498L 8.58953,12.5761L 8.25831,17.6042L 3.62852,19.7405L 8.33013,21.5017L 8.84603,26.4958L 12.083,22.5562L 17.0316,23.5064L 14.3306,19.3103L 16.8731,14.9035 Z ">
<GeometryDrawing.Pen>
<Pen LineJoin="Round"
Brush="#FF000000" />
</GeometryDrawing.Pen>
</GeometryDrawing>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
Resulting view :
For local resources you don't need prefix "pack:application:,,,/".
... View more
12-09-2024
11:18 AM
|
0
|
5
|
2681
|
|
POST
|
Hi,
You can listen for MapMemberPropertiesChangedEvent event to check when user changes a layer name.
... View more
12-06-2024
12:22 AM
|
1
|
0
|
839
|
|
POST
|
Hi,
Activating next tool deactivates previous tool. Why do you use Move tool to select point? You can select it from code
... View more
12-05-2024
06:40 AM
|
0
|
2
|
1296
|
|
POST
|
Hi,
I have remembered my post on another similar thread. There are no changes in layer properties window in ArcGIS Pro. There is possibility to change color for now, but not symbol.
P.s. I am still on ArcGIS Pro 3.3.2
... View more
12-05-2024
05:36 AM
|
0
|
1
|
1570
|
|
POST
|
Hi,
Have you seen these community threads (thread1 and thread2)?
... View more
12-05-2024
04:58 AM
|
0
|
1
|
1114
|
|
POST
|
Hi,
As written in ArcGIS Pro ProConcepts Editing, you cannot use edit operation methods within the context of your call back routine or lambda. You use Delete method of EditOperation.
... View more
12-02-2024
01:32 AM
|
0
|
0
|
984
|
|
POST
|
Hi,
You can use DGPS (Differential GPS) to improve your accuracy. I think, you could simplify your GPS data as suggested here. ArcGIS geoprocessing tool Simplify Line can help you, but it needs standard or advanced license. Ramer-Douglas-Peucker line simplification code you can find by web search or click on link.
... View more
11-30-2024
12:36 AM
|
1
|
1
|
3257
|
|
POST
|
Hi,
You have global variable _mapViewOverlayControl (with underscore) which is null, I think. So change it to:
MapView.Active.AddOverlayControl(mapViewOverlayControl);
Without underscore it works fine
... View more
11-28-2024
12:28 PM
|
0
|
1
|
1097
|
|
POST
|
Hi,
We try to add AdMob advertising to our MAUI application using Plugin.MauiMTAdmob nuget package. We call Interstitial Ad loading method at the end of MainPage constructor. When ad is loaded, we call showing method. At the beginning we can see map with our data, then ad page shows on top of MainPage. After closing ad page MapView interacts with gestures (scale and viewpoint properties changes), but MapView shows initial extent. Setting viewpoint from code doesn't refresh MapView view too.
We are trying to change advertising loading place now.
I understand what problem isn't with ArcGIS Runtime, but could you give me some ideas why MapView couldn't refresh.
P.s. On iPhone it works as expected, MapView refreshes.
... View more
11-28-2024
03:39 AM
|
1
|
0
|
673
|
|
POST
|
Hi,
After some investigation I have found that it couldn't be only distance issue. Sometimes it works on longer paths and doesn't on shorter. I noticed what it could be dependent on restricted paths for walking (highways and etc.) If it is possible to find a way that for example can cross highway but not goes along highway and distance is longer (but not so much) then it creates route. Otherwise, it returns exception. So, it depends on not only distance but and other network parameters.
... View more
11-27-2024
04:44 AM
|
0
|
0
|
1594
|
|
POST
|
Hi,
I have modified ArcGIS Pro SDK Community sample InspectorTool. I have changed autoload to true. It works as expected. Initialize event arises before ArcGIS Pro starts (on splash screen). Check project target framework (.NET8.0) version and desktopVersion in config.daml file.
... View more
11-26-2024
11:41 PM
|
0
|
1
|
1236
|
|
POST
|
Hi,
I have edited code from the Find Place sample (MAUI). Code below:
GeocodeParameters parameters = new GeocodeParameters();
// Get the current map extent.
Geometry extent = MyMapView.VisibleArea;
// Update the search parameters.
parameters.SearchArea = extent;
var locatorTask = new LocatorTask(new Uri("https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer"));
// Get the location information.
IReadOnlyList<GeocodeResult> locations = await _geocoder.GeocodeAsync("Coffee", parameters);
// Stop gracefully and show a message if the geocoder does not return a result.
if (locations.Count < 1)
{
return; // 3. Stop.
}
It works and returns locations. Sample is here:
https://github.com/Esri/arcgis-maps-sdk-dotnet-samples/tree/main/src/MAUI/Maui.Samples/Samples/Search/FindPlace
... View more
11-25-2024
07:31 AM
|
0
|
0
|
977
|
|
POST
|
I have checked all Esri Community samples. There are 3 cases of using Store method. First method using inside EditOperation callback. Second method uses Store inside Geodatabase.ApplyEdits (sample MemoryGeodatabase). And third one as I wrote above is using Store in Row events without additional requirements (sample ModifyNewlyAddedFeatures). Rest of Store samples (6 from 😎 use first method.
I used Store method in my first add-ins, but now there is no Store usage in my code. It seems that is similar solution as in ArcObjects but it works different.
... View more
11-20-2024
10:36 PM
|
0
|
0
|
1071
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 4 weeks ago | |
| 1 | 03-23-2026 11:44 AM | |
| 1 | 05-22-2024 11:48 PM | |
| 1 | 02-27-2026 10:33 AM | |
| 1 | 01-07-2026 10:44 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|