POST
|
@John-Foster thank you for your instruction. In the dashboard I saw an option to upgrade my account to developer account for free, after using it I can see many other functionalities now.
... View more
04-18-2023
12:47 PM
|
0
|
0
|
415
|
POST
|
Hi Everybody, I am learning to use ArcGIS Experience Builder. As a start, I tried to follow the instruction at https://developers.arcgis.com/experience-builder/guide/install-guide/ However, I was stuck at finding the OAuth 2.0 tab in the ArcGIS for Developers site (step 4 of "Create Client ID on ArcGIS Developers site"). After logging in, I only see the "Dashboard" and "Downloads" tabs, but not the "OAuth 2.0" and "API Keys" tabs as the documentation describes. I registered my account with personal email without purchasing any product. Is this the reason why I don't see the OAuth 2.0 tab? What is the method for me to get access to the OAuth 2.0 functionality? Thank you!
... View more
04-17-2023
01:45 PM
|
0
|
2
|
442
|
POST
|
Hi Everybody, I am working on a website implemented with ArcGIS Web AppBuilder 2.25 (https://developers.arcgis.com/web-appbuilder/). I would prefer to use the Dart Theme since it provides resizable panel when I click the buttons on the toolbar. However, there is one thing I want to improve: I want to change the behavior of the button for a widget group in the toolbar. In Dart Theme, when I click the button for a widget group of two widgets, both widgets will popup individually. However, I would prefer these two widgets to be in the same panel, because their content are related to each other. Below is the sample JSON configuration of the WAB 2.25 site. Is there any way to customize the behavior? If it needs to update the WAB 2.25 code slightly, can you give me some idea where to start? "groups": [
{
"label": "Table of Contents",
"widgets": [
{
"uri": "widgets/LayerList/Widget",
"version": "2.25",
"id": "widgets_LayerList_Widget_1",
"name": "LayerList",
"index": 3,
"label": "Layer List 1",
"config": "configs/LayerList/config_widgets_LayerList_Widget_1.json",
"folded": false
},
{
"name": "LayerList",
"label": "Aerial Images",
"version": "2.25",
"uri": "widgets/LayerList/Widget",
"index": 4,
"id": "widgets_LayerList_Widget_2",
"config": "configs/LayerList/config_widgets_LayerList_Widget_2.json",
"folded": true
}
],
"index": 4,
... To clarify the effect I am looking for, here is what I get for now. The effect I am looking for is something like below, for group widget button: Any idea may help. Thank you! Sui
... View more
10-07-2022
06:40 PM
|
0
|
0
|
481
|
POST
|
I also set SSL Enabled to true and tried, but still doesn't work.
... View more
10-15-2020
10:54 AM
|
0
|
0
|
877
|
POST
|
Hi! I created a GIS website from ArcGIS Web AppBuilder 2.17 running from my desktop computer. The site runs well if I start the Web AppBuilder from desktop, and then click to launch the website from there. However, if I download download the site from Web AppBuilder (with the download button beside the launch button), I cannot run it properly from Visual Studio 2019. Can I get some idea about how to fix the ERR_SSL_PROTOCOL_ERROR error when I try to run it from Visual Studio? I opened the unzipped downloaded folder from Visual Studio as a website, and clicked the run button. The popup web browser will display blue color that looks like loading the site for a second, and then display error message ERR_SSL_PROTOCOL_ERROR. Attached are the screenshots of error messages I got when trying to start it from Visual Studio with different web browser. Thank you!
... View more
10-15-2020
10:32 AM
|
0
|
1
|
895
|
POST
|
Hi Robert, Thank you for the explanation! The solution works for me. In addition, I checked the network traffic of the site built from WAB, and find that it is downloading the JS API code from https://js.arcgis.com. This explains why I couldn't find the text to update in my hard drive. Thank you! Sui
... View more
09-18-2020
02:13 PM
|
0
|
0
|
1291
|
POST
|
Hi! Do you have idea about how to change the mouse over tip on the map, for the out-of-box Select widget? As the attached image shows, when I use point geometry to select features on the map and turn on the "Select" button, I will see "Click to add a point" mouse over tip message. I want to change this message to another, but couldn't find a way to do that. I am using Web AppBuilder Version 2.17. I attempted to do it by searching the text "Click to add a point" in all the source code of the Web AppBuilder, including the site that I have created inside, and then changed all the strings that I can find. However, it doesn't work. I also delete the web browser cache, but doesn't help. I attempted to debug into the Select widget, and find that this mouse over tip is toggled on and off by the FeatureSetChooserForMultipleLayers.js module at line 165 (see screenshot). When I clicked the Select button, the jimuUtils.simulateClickEvent function is triggered. If I comment out this function call, the mouse over tip will not work. However, I couldn't go further to dig out how the text is setup, because I encounter the minified code soon after. Seems I am stuck now. Do you give me some idea how to customize the text of the mouse over tip? The reason I want to figure this out is because I am using the FeatureSetChooserForMultipleLayer.js to develop a customized widget, such that I need to change the text that comes with it. Thank you!
... View more
09-17-2020
05:29 PM
|
0
|
2
|
1325
|
POST
|
I installed debugger for chrome and tried, but got the issue in the screenshot. Then I tried again by deleting the attribute "port", this time the WAB site could launch, but VS Code indicates that my break point is unbound. Is it because of the version difference in VSCode, WAB, and the Debugger for Chrome? Below are my versions. I am using WAB 2.17
... View more
08-16-2020
04:08 PM
|
0
|
0
|
2366
|
POST
|
This, this detail instruction works for me. I used it in VS2019.
... View more
08-16-2020
03:56 PM
|
1
|
0
|
2366
|
POST
|
I understand the nonPlanar parameters now. It has nothing to do with Z-coordinates. It is used to control whether the returned geometry can intersect itself. Refer to the definition of Planar Graph http://en.wikipedia.org/wiki/Planar_graph Seems I need to do vertex by vertex manipulation to find the 3D intersection...
... View more
02-19-2014
12:19 PM
|
0
|
0
|
329
|
POST
|
Hi Everybody: I am looking for a method to find the 3D intersection of two polylines with Z-coordinates. I checked the functions ITopologicalOperator.Intersect and ITopologicalOperator6.IntersectEx. The difference is that IntersectEx has an additional boolean parameter bNonPlanar. What is this parameter for? Is it a switch to get the result in 3D? Thank you!
... View more
02-19-2014
11:23 AM
|
0
|
1
|
1901
|
POST
|
Hi sean_jones: I did test the ISnappingFeedback.Refresh function but it doesn't work for me. I input 0 for the hDC value in the test. Did I input incorrect hDC value? If that's the case what shall I input? Thank you! Looks like your'e missing the Refresh method in the tool public override void Refresh(int hDC)
{
//Refresh the previous location of the snap tip.
if (m_SnappingFeedback != null)
m_SnappingFeedback.Refresh(hDC);
} You can also check out the following resources: Working with the ArcGIS snapping environment Incorporating snapping into custom tools
... View more
02-10-2014
08:20 AM
|
0
|
0
|
350
|
POST
|
Hi Everybody: I am trying to build a tool that uses the ArcGIS snapping. In general it works well, but there is a display issue that I don't know how to handle. In ArcMap I created a context menu command to activate the tool, such that user can right-click on map, select the command to get the tool activated, and the mouse cursor is on the map right-after. If right-after (say, within 0.1 second) activating the tool my mouse cursor is on some feature edge or vertices that can trigger a snap tip, that snap tip will not disappear even if I move the cursor away, regardless the mouse cursor is getting other snap tip or not. See the attached figure. [ATTACH=CONFIG]31240[/ATTACH] Once that strange snap shows up, the way to remove it is to eigher refresh the map or deactivate the tool. Why does this happen? Is there any way to fix it? Below are the code I wrote in the tool to handle the snapping.
/// <summary>
/// Triggered when the tool is clicked.
/// </summary>
public override void OnClick()
{
base.OnClick();
SharedState sharedData = SharedState.GetInstance();
m_SnappingEnv = sharedData.ArcApp.FindExtensionByName("ESRI Snapping") as ISnappingEnvironment;
m_Snapper = m_SnappingEnv.PointSnapper;
m_SnappingFeedback = new SnappingFeedbackClass();
m_SnappingFeedback.Initialize(sharedData.ArcApp, m_SnappingEnv, true);
}
public override void OnMouseMove(int Button, int Shift, int X, int Y)
{
base.OnMouseMove(Button, Shift, X, Y);
//Convert the point from pixels to map units.
IPoint mapPoint = null;
mapPoint = QueryMapPoint((m_application.Document as IMxDocument).ActivatedView.ScreenDisplay, X, Y);
mapPoint.Z = 0;
//Test the location against the snap environment.
if (m_CurrentMousePoint != null)
{
Utils.ReleaseComObjects(m_CurrentMousePoint);
}
ISnappingResult snapResult = m_Snapper.Snap(mapPoint);
if (snapResult != null)
{
m_CurrentMousePoint = snapResult.Location;
Utils.ReleaseComObjects(mapPoint);
}
else
{
m_CurrentMousePoint = mapPoint;
}
//Update the snapping feedback.
m_SnappingFeedback.Update(snapResult, 0);
}
... View more
02-07-2014
08:32 AM
|
0
|
2
|
2228
|
POST
|
It works, thank you! Use IElementProperties to assign a name to the element when it is created. When you go to delete the element, loop through the graphics container looking for an element with that name. If you don't find it, it has already been deleted.
... View more
02-03-2014
02:21 PM
|
0
|
0
|
348
|
POST
|
Hi Everybody: I am writing an ArcMap 10.0 extension that provides a multiple step workflow. In one of the steps of the workflow, my code will generate a graphical element (IElement object) on the map display to give some information to user to continue next step, and my code is cleaning it up at the end (currently deleting all graphical elements on the map). However, in the design above the extension will prevent user from using graphical or text element by using the out-of-box "Draw" toolbar, because my extension will clean the elements up from time to time. I want to improve this but keeping the reference to the IElement object when it is created, and delete only it at the end instead of deleting all elements. However, the geraphical element can be deleted by tools in "Draw" toolbar. If it is accidentially deleted, my deletion code will throw exception at the end. Is there anyway for my code to detect whether that element is no longer existing? Alternatively, if I have a way to prevent user to delete or edit that element, it should also work, any method? Thank you!
... View more
01-30-2014
01:59 PM
|
0
|
2
|
693
|
Title | Kudos | Posted |
---|---|---|
1 | 08-16-2020 03:56 PM |
Online Status |
Offline
|
Date Last Visited |
04-18-2023
08:47 PM
|