POST
|
@GreteSoosalu What is the bug number for this? It seems it is still an issue with 4.28 and next.
... View more
01-22-2024
01:49 PM
|
0
|
0
|
175
|
POST
|
could you explain the counter-clockwise winding rule?
... View more
09-21-2023
09:08 AM
|
0
|
0
|
399
|
POST
|
@GreteSoosalu Just curious what about the data that makes the algorithm choke on this data and none of our other data?
... View more
09-19-2023
09:54 AM
|
0
|
0
|
402
|
POST
|
I have drawing issues with a featurelayer(polygons) only when in sceneview though. There is no problem when using mapview. You can see the problem in this jsfiddle. The polygons in the NE corner of the quad are colored as green down near the colorado river. They should be red. Like the small ones in the extreme NE corner. Changing to MapView in the code resolves the issue. Perhaps a bug?
... View more
01-30-2023
12:39 PM
|
0
|
9
|
553
|
POST
|
Thanks @MichaelSnook would you have an example of the code?
... View more
01-12-2023
12:49 PM
|
0
|
2
|
763
|
POST
|
Right, I am pulling it from another CDN but I get "Uncaught TypeError: query.executeQueryJSON is not a function" error and I am assuming my code is confusing dojo/query and esri/rest/query as I use both for the app.
... View more
01-12-2023
12:15 PM
|
0
|
4
|
795
|
POST
|
I am upgrading an older web map from 4.17 to 4.25 and don't have the time to rebuild with ES modules. I'm looking for a way to call dojo/query and esri/rest/query by different names using AMD modules. Uncaught TypeError: query.executeQueryJSON is not a function This error popped up after upgrading to 4.25 where the dojo library is no longed included with the CDN package. Assuming this is the reason because 4.24 still works.
... View more
01-12-2023
11:59 AM
|
0
|
6
|
801
|
POST
|
It is working as intended now with layer.queryRelatedFeatures contentSpecies = function(feature) {
var contentSpecies = "";
objectID = feature.graphic.attributes.OBJECTID;
var speciesSpecs = {
outFields: ["OBJECTID", "Species", "Notes", "Status", "Known_elevation_range", "Habitat_Description", "Link_to_More_Information"],
relationshipId: 0,
objectIds: [objectID]
}
speciesLayer.queryRelatedFeatures(speciesSpecs)
.then(function (rslts) {
var features = rslts[objectID].features;
features.forEach(function(ftr) {
var t = ftr.attributes;
var species = t.Species;
contentSpecies += "<span class='bold' title='Species'><b><font size='3'><span class='uppercase'>" + species + "</span></font></b></span><br>";
var range = t.Known_elevation_range;
contentSpecies += "<span class='bold' title='Notes'><b>Known Elevation Range: </b></span>" + range + "<br/>";
var habitat = t.Habitat_Description;
contentSpecies += "<span class='bold' title='Status'><b>Habitat: </b></span>" + habitat + "<br/>";
var url = t.Link_to_More_Information;
contentSpecies += "<span class='bold' id='more' title='Status'><b>More Info: </b></span> <a target='_blank' href='" + url + "'>Link</a><br/><br>";
})
var thetitle = contentTitle(feature);
mapView.popup.open({
title: "Sensitive Amphibian Species " + thetitle,
content: contentSpecies,
outFields: ["*"],
visibleElements: {featureNaviagtion: true, closeButton: true}
})
})
} Thanks @ReneRubalcava
... View more
08-22-2022
01:46 PM
|
0
|
0
|
421
|
POST
|
I see now that it is returning fields from the main feature layer and not the related features. The query url I am seeing is the one for the popup feature. It does not get to the point of firing the related features line of code.
... View more
08-22-2022
10:41 AM
|
0
|
0
|
424
|
POST
|
Rene I tried both ways for getting the objectids. Neither worked. When I try using layer.queryRelatedFeatures I get nothign as well. Now when I check the network traffic for it all , the outfields are some census fields from who knows where? Check it. https://webmaps.geology.utah.gov/arcgis/rest/services/Wetlands/Wetland_Dependent_Species/MapServer/1/query?f=json&objectIds=27&outFields=COLOR4,COUNTYNBR,ENTITYNBR,ENTITYYR,FIPS,FIPS_STR,GlobalID,NAME,OBJECTID,POP_CURRESTIMATE,POP_LASTCENSUS,STATEPLANE,Shape,Shape_Area,Shape_Length&outSR=102100&returnGeometry=false&spatialRel=esriSpatialRelIntersects&where=1=1 Those are not my fields, not the fields I specified in the outfields and it doesnt change when I make outfields = ["*"] The 4.22 query url is this https://webmaps.geology.utah.gov/arcgis/rest/services/Wetlands/Wetland_Dependent_Species/MapServer/1/queryRelatedRecords?f=json&objectIds=27&outFields=OBJECTID,Species,Notes,Status,Known_elevation_range,Habitat_Description,Link_to_More_Information&relationshipId=0&returnGeometry=false Totally random! I think....
... View more
08-19-2022
02:49 PM
|
0
|
1
|
445
|
POST
|
I am upgrading an app from 4.22 to 4.24 and so far it has gone smoothly but this custom content function to populate the popup will not work now. It stops at line 17. What am I missing? function contentSpecies(feature) {
console.log(feature);
var contentSpecies = "";
objectID = feature.graphic.attributes.OBJECTID;
console.log(objectID);
var queryURL = "https://webmaps.com/Species/MapServer/1";
var speciesSpecs = new RelationshipQuery({
outFields: ["OBJECTID", "Species", "Notes", "Status", "Known_elevation_range", "Habitat_Description", "Link_to_More_Information"],
//returnGeometry: true,
relationshipId: 0,
objectIds: [objectID]
});
//var idArray = [];
console.log(speciesSpecs);
query.executeRelationshipQuery(queryURL, speciesSpecs).then(function (rslts) {
console.log(rslts);
var features = rslts[objectID].features;
features.forEach(function(ftr) {
var t = ftr.attributes;
var species = t.Species;
contentSpecies += "<span class='bold' title='Species'><b><font size='3'><span class='uppercase'>" + species + "</span></font></b></span><br>";
var range = t.Known_elevation_range;
contentSpecies += "<span class='bold' title='Notes'><b>Known Elevation Range: </b></span>" + range + "<br/>";
var habitat = t.Habitat_Description;
contentSpecies += "<span class='bold' title='Status'><b>Habitat: </b></span>" + habitat + "<br/>";
var url = t.Link_to_More_Information;
contentSpecies += "<span class='bold' id='more' title='Status'><b>More Info: </b></span> <a target='_blank' href='" + url + "'>Link</a><br/><br>";
})
.catch((error) => {
console.log("species query error", error)
});
});
console.log("Open")
var thetitle = contentTitle(feature);
mapView.popup.open({
title: "Sensitive Amphibian Species " + thetitle,
content: contentSpecies,
outFields: ["*"],
visibleElements: {featureNaviagtion: true, closeButton: true}
})
}
... View more
08-18-2022
12:04 PM
|
0
|
4
|
473
|
POST
|
We have a scheduled upgrade for arcgis server 10.8.1 to 10.9.1 this thursday @UndralBatsukh will this affect your testing?
... View more
01-18-2022
01:48 PM
|
0
|
0
|
2829
|
Title | Kudos | Posted |
---|---|---|
1 | 08-04-2021 08:48 AM | |
1 | 08-04-2021 02:12 PM | |
1 | 11-09-2017 10:10 AM | |
1 | 06-29-2021 08:28 AM | |
1 | 04-20-2016 12:12 PM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|