|
POST
|
Yes only no 6080, we are using a webAdaptor. That is the syntax being used. C:\{path}\arcgis on {serverpath}\Locators(Folder)\{LocatorName}.GeocodeServer. I verified the path and connection work by adding it manually(using Add Locator) in ArcGIS pro.
... View more
06-19-2019
02:49 PM
|
0
|
6
|
3150
|
|
POST
|
This is a Locator Service published to ArcServer 10.6.1. Yes I can add it to the project and LOcators manually. I can aadd it both direct from server connection and a server connection file.
... View more
06-19-2019
02:17 PM
|
0
|
10
|
3150
|
|
POST
|
Do you have any suggestions or ideas as to why this maybe. I'm not getting any errors anywhere.
... View more
06-19-2019
02:10 PM
|
0
|
12
|
3150
|
|
POST
|
I have tried to do this. I am attempting to use a locator service. When I add it to the project I can see it added but it is greyed out and unusable. The only thing I can do with it is remove it.
... View more
06-19-2019
02:06 PM
|
0
|
13
|
3150
|
|
POST
|
Is there any other way to do this outside of Portal?
... View more
06-19-2019
11:33 AM
|
0
|
15
|
3150
|
|
POST
|
var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var obj = JSON.parse(this.responseText); console.log("OBJ", obj); console.log(obj.results[0].value); } }; xmlhttp.open("GET", "SOMUEURL/GPServer/Script /execute?xmin="+xmin+"&ymin="+ymin+"&xmax="+xmax+"&ymax="+ymax+"&f=pjson", true);//parameters to send to GP service xmlhttp.send(); },
... View more
06-05-2019
02:49 PM
|
0
|
0
|
432
|
|
POST
|
Do you mean you want to set values for your parameters when you open the widget? If so then I used code like this in the onOpen function of mine. var DT0 = document.getElementById("dijit_form_TextBox_0"); var DT1 = document.getElementById("dijit_form_TextBox_1"); var DT2 = document.getElementById("dijit_form_TextBox_2"); var DT3 = document.getElementById("dijit_form_TextBox_3"); var DT5 = document.getElementById("dijit_form_TextBox_5"); var DT6= document.getElementById("dijit_form_TextBox_6"); var DT7 = document.getElementById("dijit_form_TextBox_7"); var DT8 = document.getElementById("dijit_form_TextBox_8"); DT0.value = this.map.extent.xmin DT1.value = this.map.extent.ymin; DT2.value = this.map.extent.xmax; DT3.value = this.map.extent.ymax; if (DT5){ DT5.value = this.map.extent.xmin; } if (DT6){ DT6.value = this.map.extent.ymin; } if (DT7){ DT7.value = this.map.extent.xmax; } if (DT8){ DT8.value = this.map.extent.ymax; } You can change how the fields order/display in the widget edit mode. If you want to change the size of widget and it is opening in a panel you can use something along these lines. var panel = this.getPanel(); //panel.position.width = 400; panel.position.height= 600; //panel.position.left=1100; //panel.position.top=0; panel.setPosition(panel.position); panel.panelManager.normalizePanel(panel);
... View more
06-05-2019
02:42 PM
|
0
|
0
|
903
|
|
POST
|
So, I ended up updating the arcgis package and the map widget started working.
... View more
02-13-2019
09:20 AM
|
1
|
0
|
2339
|
|
POST
|
Marco where do you run this? I'm having the same issue.
... View more
02-12-2019
01:57 PM
|
0
|
2
|
2339
|
|
POST
|
I can no longer see the mapview widget in jupyter notebook. I get the message that hide_modeswitch is set to True. This means when I try to display a webmap it does not show up. from arcgis.mapping import WebMap la_parks_trails = webmapjw(webmap) la_parks_trails I get the line MapView(hide_mode_switch=True, layout=Layout(height='400px', width='100%')) In the documentation it says that if theis hapens you must reinitialize the map. How do I do this? I have tried several ways and nothing works. I have also tried just creating a new project, but that dpesn't work either.
... View more
02-12-2019
10:47 AM
|
1
|
9
|
5817
|
|
POST
|
You may be able to do this by creating a geoprocessing service that utilizes arcpy mapping. I did something similar with a geoprocesing service.
... View more
01-04-2019
02:06 PM
|
0
|
5
|
5003
|
|
POST
|
We have created something like this. We did it for several internal apps. For each button the onclick function is something like the following. funcApp_publicgisExtent: function () { var app_url_parameter_map_extent = "https://matterhornwab.co.pierce.wa.us/publicgis/?extent=" + this.map.extent.xmin + "," + this.map.extent.ymin + "," + this.map.extent.xmax + "," + this.map.extent.ymax + ",2927"; window.open(app_url_parameter_map_extent, "_blank"); }, jimu.js/MapURLParamsHandler.js has code to handle an extent specification in the url already.
... View more
12-26-2018
10:22 AM
|
1
|
0
|
955
|
|
POST
|
I've done something like this. I created from scratch and used the symbol chooser class along with other api tools. I open the widget from the layerlist and send it the id of the layer to operate on. I'm not sure how to attach here sure how to attach here. I wanted to attach the folder.
... View more
12-11-2018
10:00 AM
|
1
|
0
|
1416
|
|
POST
|
Robert, You seem to be saying something that I wasn't originally aware of and I'm looking for clarification. Are there live updates going to WAB that don't require a user to re-install their version in order to take affect? In this case Christopher had version 2.11 and an update was pushed at night that affected his application correct? Is this an update to the JS API version or to the actual WAB build or perhaps an AGO update? -Jamal
... View more
12-07-2018
08:30 AM
|
0
|
1
|
2401
|
|
POST
|
The bookmark widget does this. You can add bookmarks that take you to an exact extent that you save. Also the newer versions of print and legend widget already use the map extent as a filter. So you don't really need to use this function.
... View more
10-18-2018
03:36 PM
|
0
|
1
|
1506
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-26-2018 10:22 AM | |
| 1 | 08-16-2018 08:51 AM | |
| 1 | 04-19-2018 02:22 PM | |
| 1 | 02-12-2019 10:47 AM | |
| 1 | 12-11-2018 10:00 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-13-2023
07:38 PM
|