|
POST
|
This can be reproduced on the example page: https://developers.arcgis.com/javascript/latest/sample-code/widgets-measurement-3d/index.html 1. Click on building and observe popup 2. Click on line button 3. Make line measurement 4. Click on line button to close measurement tool 5. Click on building and popup doesn't show To re-enable the popup you CAN do an area measurement, but that is more of a hack and not a solution. If I change the version to 4.10 in a codepen, I don't observe the same bug. Until a fix comes out for this, is there any way to renable to auto popup on the view? I haven't been able to figure it out....
... View more
05-30-2019
07:08 AM
|
0
|
2
|
1262
|
|
POST
|
Is there a way to programmatically update a vector tile layer style with the Python API yet? I looked but couldn't seem to find one. I have created a "copy" of a vector tile layer in my Portal, such that the item information page give me the ability to download the style, or update the style with a new root.json file, but I can't seem to update a new root.json programmatically via the Python API. Doing it via the REST API I guess is possible, but I took a look at the update item form in the REST API and it looks complicated it's not readily apparent what I would need to do to just update the root.json file... Thanks!
... View more
04-17-2019
06:38 AM
|
1
|
1
|
2077
|
|
POST
|
Using 4.11 version of the JS API, trying to visualize a polygon feature layer in 3D - these features start on the ground and should be extruded to a given height. I can get the extrusion to work using visual variables. But if the height is under the elevation of the terrain (lets say the height is only 100 meters), then the layer "disappears" under the terrain (see screenshot). I thought I could solve this by using elevationInfo's mode "on-the-ground", but I'm still getting the same issue. Am I doing something wrong here? Here is my elevationInfo: const elevationInfo = {
mode: "on-the-ground",
offset: 100,
unit: 'feet'
} Here is my renderer: //ValueExpression up here
var visualVariables = [
{
type: "size",
valueExpression: ValueExpression
}
];
var symbol = {
type: "polygon-3d", // autocasts as new PolygonSymbol3D()
symbolLayers: [{
type: "extrude", // autocasts as new ExtrudeSymbol3DLayer()
//size: 1000, // Height of the extrusion in meters
material: { color: [155,155,155] },
edges: {
type: "solid", // autocasts as new SolidEdges3D()
color: [50, 50, 50, 0.5]
}
}]
};
var renderer = {
type: 'simple',
symbol: symbol,
visualVariables: visualVariables
}
I assign renderer to feature layer renderer, and elevationInfo to feature layer elevationInfo. If I set the offset to something ridiculously high in elevationInfo, I can see my layer, but I want the base draped on the ground and extruded to the value above the terrain. Any suggestions?
... View more
04-05-2019
01:25 PM
|
0
|
0
|
1387
|
|
POST
|
At this point I kind of forget what I did. I might have just republished everything, although at this point I wouldn't be able to do that because it would generate new item ids for all my Portal content (we had JUST started using Portal three years ago so it wasn't as much of an issue). I could involve Esri support if possible.
... View more
04-05-2019
09:05 AM
|
0
|
0
|
3866
|
|
POST
|
I have also had a problem deleting an item from Portal after upgrading (in this case, 10.4.1 -> 10.6.1). When I hit the delete button, a toast pops up that just gives a general error. I found out that if I make any edit to the Portal item, such as changing the name of item, or tags, etc., and then save the change, I can then delete the item.
... View more
03-21-2019
06:52 AM
|
1
|
1
|
5785
|
|
POST
|
Has anyone created a layer filter widget or at the very least a layer filter UI and logic for JS API @ 4.x. I know there was 3.x logic for layer filtering from WebAppBuilder documentation, but curious if there is one I can recycle for 4.x.... Trying to be lazy here instead of building one myself.... Jay
... View more
03-19-2019
06:40 AM
|
0
|
0
|
855
|
|
POST
|
Alright, so I found the "Elevation" section in layer properties, which I can use to set the minimum height. Then I set the max height using the extrude part in layer display - is that correct? One thing I couldn't figure out - there is an operation in 3D analyst extension to add Z min and Z max values, which I can do and then calculate based on my minimum and maximum fields already in the feature class. But it didn't seem to do anything? Is this just way to add a min and max field as a naming convention, but you still to manually set the layer to display based on these two fields. I figured once I created those fields and set the values ArcGIS Pro would automatically know how I wanted the data displayed...
... View more
03-14-2019
11:21 AM
|
0
|
0
|
1378
|
|
POST
|
I have a polygon feature class with a minimum (above MSL) height field and a maximum (above MSL) height field - I can't figure out how to symbolize this in ArcGIS Pro. I can extrude the polygons to the max field, but I can't bring up the bottom part of the polygon to the minimum field. Can someone explain the process for accomplishing this? Do I have to do something with Z values or is there an easier way? Thanks!
... View more
03-14-2019
11:06 AM
|
0
|
1
|
1548
|
|
BLOG
|
Thanks so much! That's good to hear - I just want to be able to reassure our customers that the KML/KMZ features they are used to in Google Earth will eventually be ported over to ArcGIS Earth. I personally wish everyone would just abandon the format, but it seems to support some legacy workflows, so as long as it's planned eventually, they should be happy! Thanks again...
... View more
03-01-2019
12:25 PM
|
0
|
0
|
1336
|
|
BLOG
|
Curious if full KML/KMZ functionality is planned for ArcGIS Earth - currently it supports a small fraction of Google Earth capabilities such as adding drawings to existing KML files, changing symbology, etc. etc. Curious if these integrations are planned for the future - haven't really seen much media on ArcGIS Earth, so want to make sure it's still being developed....
... View more
03-01-2019
11:10 AM
|
0
|
0
|
1336
|
|
POST
|
I have an app with two LayerList widgets in different sections of the app. One layer list widget is displaying all layers added to the map. I want to make it so the second layer list widget only displays a subset of the layers added to the map - ie, layers a user uploads from their computer locally (geojson, csv, kml, etc.). Is there any way in the listItemCreatedFunction to just remove layers that don't meet this criteria? Unclear how to achieve this. With only one layerlist widget I could set listMode on the layer to 'hide,' but this won't work for my purposes, since my first layer list needs to display all layers. I haven't figured out how to intercept this function and just not add the item to the widget in the first place.... Thanks!
... View more
02-25-2019
09:16 AM
|
0
|
0
|
845
|
|
POST
|
UPDATE: I think esriRequest in 4.9 doesn't currently work for a geoprocessing service upload endpoint (it works in 3.x though). Adding query: {"f":"json"} to the esriRequest options appends the parameter to the url a la GET query parameters, even while it POSTs the form data (in my case the binary file). However, the geoprocessing service upload endpoint doesn't accept these GET parameters. So there are two ways to deal with it 1. Use responseType: xml in the esriRequest options and parse the resultant html page with regex. 2. I added <input type="hidden" name="f" value="json"/> to my form to shoehorn the parameter into the POST request So my final form html looks like <form enctype="multipart/form-data" method="post" id="uploadForm" ref="myelement">
<label>
<span class="btn btn-primary">
<span>Browse…</span>
<input type="file" name="file" id="file" accept=".kmz, .kml" @change="handleFile">
</span>
</label>
<input type="hidden" name="f" value="json"/>
</form> and my final EsriRequest is esriRequest("https://mygisserver/arcgis/rest/services/Geoprocessing/UploadKML/GPServer/uploads/upload",
{
body: dom.byId("uploadForm"),
responseType: 'json'
}).then(successHandler, errorHandler); This was the ONLY way I could get the service to return JSON.... If anyone has solved this another way, please let me know, because it seems like a bug in the 4.x version of the API when communicating with this particular type of rest endpoint and uploading a file...
... View more
02-22-2019
05:04 PM
|
1
|
0
|
2443
|
|
POST
|
Turns out if I look at the response, the upload is working, it's just returning it in html instead of json..... Sooo, how do I format esri request to make sure json is returned.... If I look at the request in my developer tab, it shows: https://gis-dev.eon.faa.gov/arcgis/rest/services/Geoprocessing/UploadKML/GPServer/uploads/upload?f=json
... View more
02-22-2019
11:38 AM
|
0
|
0
|
2443
|
|
POST
|
Using v4.9 of JS API, trying to upload a KML or KMZ to a geoprocessing service that has uploads enabled. Struggling on how to format my esriRequest: Here is what I have: esriRequest(
"https://mygisserver/arcgis/rest/services/Geoprocessing/UploadKML/GPServer/uploads/upload",
{
body: document.getElementById("uploadForm"),
method: 'post',
//useProxy:true,
responseType: 'json',
query:{'f':'json'},
//headers: {'Content-Type': 'multipart/form-data'},
headers:{'Content-Type':'application/x-www-form-urlencoded'}
} I've tried a lot of different combinations of headers, my proxy is working, but I keep getting errors like PROXY OFF Unexpected token < in JSON at position x (where x is a number) with no headers Error parsing multi-part request with multipart/form-data headers Error performing upload operation with application/x-www-form-urlencoded headers PROXY ON Unable to load https://gisdev.eon.faa.gov/proxy/pr… an error in handleAs: transformation of response with any headers. Any ideas here?
... View more
02-22-2019
10:46 AM
|
0
|
2
|
2840
|
|
POST
|
Okay, this kind of works for my purposes. However, I've been having a hard time with the watch handlers. Sometimes the function (in your example it's defineActions) runs 5 times for adding a single layer - and I haven't really been able to figure out how to only set a watcher once on the top level. The uniqueParentItems doesn't always work - plus sometimes the item.title is "Layer" until the layer is actually loaded and able to get the title (since I'm loading layers from the portal). It's making my head spin....
... View more
02-21-2019
01:30 PM
|
0
|
1
|
3304
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 02-23-2026 11:00 AM | |
| 1 | 07-08-2025 11:33 AM | |
| 1 | 11-07-2023 08:32 AM | |
| 2 | 10-01-2025 06:52 AM | |
| 5 | 09-08-2025 07:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-04-2026
01:35 PM
|