IDEA
|
We recently experienced a power outage and now we can't open my coworker's project. It gives the "Failed to open Project ...This project was saved using a newer version of ArcGIS Pro : ." but I am running the latest version 3.0.3. We've opened a ticket, but an ARPX Doctor would be nice for this situation.
... View more
02-13-2023
03:31 PM
|
0
|
0
|
721
|
POST
|
The SnappingManager in the JS API states that is supports specifying the target snapping layers. SnappingManager | API Reference | ArcGIS API for JavaScript 3.41 | ArcGIS Developer But it appears the widget does not include this option. Edit widget—ArcGIS Web AppBuilder | Documentation The Edit Widget only lets you adjust the SnappingTolerance in pixels. Based on my test this appears to snap to a grid of pixels the size of your tolerance setting. It appears a custom Edit widget is required.
... View more
06-29-2022
01:00 PM
|
0
|
0
|
340
|
POST
|
Changing the feature layer from MODE_SNAPSHOT to the default MODE_ONDEMAND seems to have solved the issue.
... View more
04-05-2018
11:30 AM
|
1
|
1
|
2835
|
POST
|
Thanks, The service indicates that it supports advanced queries including Pagination. So, how can I eliminate the resultOffset and resultRecordCount parameters and values from being included in the query that is generated by the setDefinitionExpression?
... View more
04-05-2018
10:29 AM
|
0
|
2
|
2835
|
POST
|
setDefinitionExpression is including the resultOffset and resultRecordCount parameters that are causing the service query to return No records found. If I make the same query without these parameters it returns records. How can I eliminate these parameters from being added to the query when I set the definition expression? or How can I get the service to return records with these parameters set? resultOffset=0 resultRecordCount=1000 No records found query https://gis.maricopa.gov/arcgis/rest/services/Flo2d/Flo2d_Boundaries/MapServer/1/query?f=json&where=admp%20%3D%20%27121_… If I remove theses parameters &resultOffset=0&resultRecordCount=1000 then it returns the expected 72 records. https://gis.maricopa.gov/arcgis/rest/services/Flo2d/Flo2d_Boundaries/MapServer/1/query?f=json&where=admp%20%3D%20%27121_… Also of note if I change the where statement to 1=1 it will return all the records even with the resultOffset and resultRecordCount parameters. https://gis.maricopa.gov/arcgis/rest/services/Flo2d/Flo2d_Boundaries/MapServer/1/query?f=json&where=1=1&returnGeometry=t…
... View more
04-05-2018
09:52 AM
|
1
|
8
|
4188
|
POST
|
Not using the main.js to load the additional references solved this issue in IE11 for me. The dojoLoader gives me new errors, but the page at least loads and function properly.
... View more
11-17-2016
10:52 AM
|
0
|
0
|
184
|
POST
|
I'm currently seeing this error in IE11. It occurs intermittently, but more often than I would like. It happens while the page is loading and it occurs when accessed from both in and outside the office, but occurs more often when outside. I tried adding the content="IE=9" designation, but it did not make a difference. IE version 11.0.9600.17843 I've tried CDN versions 3.17 and 3.18 as well as a locally hosted 3.17. File: 3.17, Line: 28, Column: 138 b.apply(null,s):b;a.result=void 0===h&&a.cjs?a.cjs.exports:h;D.shift(a);ha(a)}return a.result},oa=0,ja=function(a){try{oa++,a()}catch(c){throw c;}finally{oa--}bb()&&C("idle",[])},ga=function(){oa||ja(function(){G();for(var a,c,b=0;b<Q.length;)a=Ga,c=Q,ia(c),a!=Ga?(G(),b=0):b++})};r("dojo-undef-api")&&(q.undef=function(a,c){var b=W(a,c);ca(b);g(b,{def:0,executed:0,injected:0,node:0,load:0})});void 0===r("dojo-loader-eval-hint-url")&&r.add("dojo-loader-eval-hint-url",1);var ra="function"==typeof b.fixupUrl? This web map rarely shows this error. MCDOT Projects This project description page gets it more often. http://www.mcdot.maricopa.gov/Projects/Project?ID=835 Here is a version of the project description page in HTML without page layout that I have seen also gets this error. But much less frequently. http://gis.mcdot.maricopa.gov/Projects/project.html?ID=835 Some other ID values that should also return results: 797, 799, 801, 828, 844, 990, 828, 829, 863, 884, 964, 2099, 2120, 2180
... View more
11-16-2016
09:24 AM
|
0
|
1
|
1179
|
POST
|
Apparently, swapping out the reference to our locally stored copy of the ArcGIS JS API for the updated/patched CDN of version 3.16 is one way to solve this issue.
... View more
06-01-2016
03:08 PM
|
0
|
0
|
960
|
POST
|
I see WAB has a patch already. Is there a fix for custom apps? Here is the error message I am seeing: Uncaught ReferenceError: normal is not defined css.js:2 (anonymous function) @ (program):1 f @ css.js:2 l @ load-css.js:4 l @ load-css.js:4 h @ load-css.js:4 (anonymous function) @ load-css.js:4
... View more
06-01-2016
10:55 AM
|
0
|
2
|
4204
|
POST
|
I agree, Host as many dependencies locally as possible. Do not rely on Google, Esri, or anyone else to always have resources available.
... View more
05-13-2016
08:36 AM
|
0
|
0
|
1184
|
POST
|
You can get a count of features in the map's current extents with JS. var currentExtent; map.on("extent-change", function (currentMap) { currentExtent = map.extent; getProjects(); }); getProjects = function () { var theProjectQueryTask = new QueryTask(urlProjects); var theProjectQueryParam = new Query(); theProjectQueryParam.where = "1=1"; theProjectQueryParam.geometry = currentExtent; theProjectQueryParam.returnGeometry = false; theProjectQueryTask.execute(theProjectQueryParam, queryProjs, querySearchError); }; queryProjs = function (results) { console.log(results.features.length + " projects"); }; Also, here is a spatial query solution. select T2.DistrictNumber, T2.SupervisorName, COUNT(t1.OBJECTID) AS CommentCount from sde.someCOMMENTS t1 inner join sde.SUPERVISORIALDISTRICT t2 on t1.SHAPE.STWithin(t2.SHAPE) = 1 GROUP BY T2.DistrictNumber, T2.SupervisorName ORDER BY T2.DistrictNumber;
... View more
05-02-2016
02:11 PM
|
1
|
0
|
357
|
POST
|
Ultimately this is a working answer. But it makes for a cumbersome solution. The web map that I'm trying to provide functionality similar to data driven pages also includes a UniqueValueRenderer that changes based on a user selection. Creating a new map with the DefinitionExpression, user selected layers, and recreating the UniqueValueRenderer adds to the complexity. And ultimately the user would be provided a collection of one page PDFs or images, when what they ultimately want is one multi page PDF. For this I think I'm going to have to switch gears and look at a geoprocessor based solution.
... View more
03-03-2016
01:20 PM
|
0
|
0
|
776
|
POST
|
Thanks Rickey, but that did not produce the desired affect. The mouse-over popup still disappears when the mouse is over a gap in the dashed line. Additionally since it is applied to all the paths on the screen it affects other features. Before adding the suggested path style: With the added path styling:
... View more
11-24-2015
06:34 AM
|
0
|
1
|
272
|
POST
|
We have a feature displayed as a dashed red line. This causes the mouse-over to only register when over a red dash but not over the missing/transparent part of the line. Does anyone have a solution for this situation? So far all I have come up with is to add a 2nd version of this FeatureLayer with a solid line and make it transparent. But this causes complications with the TOC widget. If the user turns this layer off they can still get a mouse-over when they did not expect one.
... View more
11-23-2015
02:38 PM
|
0
|
3
|
1632
|
POST
|
Thank You Kelly, This has to be the correct approach, but after incorporating your suggestion the map is setting and printing only the last tile extent in the collection. But at least it is no longer producing multiple prints of the last extent. The for loop does not wait for the asynchronous setExtent to complete before moving onto the next extent. I've read through the recommended "Keeping Promises" and a few other articles/threads ("Correct way to write loops for promise", "Dojo Deferreds and Promises") but I'm still not crystal clear how to achieve a loop effectively with asynchronous calls. Looks like you can't really use a traditional loop and instead will have to look at restructuring this to chain things together. Here is the updated function, that sets and prints only the last extent in the collection. Looking at the "Chain it up" example in the "Keeping Promises" article seems like the GridIndexPoint function below should work. But line 8 runs through all of the GridIndexfeatures.length before lines 12 & 13 are written to the console. GridIndexPrint = function () {
dom.byId("mapBusyIndicatorMessage").innerHTML = "Processing...";
showMapBusyIndicator();
console.log("length", GridIndexfeatures.length);
for (var f = 0, fl = GridIndexfeatures.length; f < fl; f++) {
console.log("f", f);
var feature = GridIndexfeatures ;
var tmpExtent = new Extent(feature.geometry.getExtent().xmin, feature.geometry.getExtent().ymin, feature.geometry.getExtent().xmax, feature.geometry.getExtent().ymax, new SpatialReference({ wkid: 102100 }));
theMap.setExtent(tmpExtent).then(function () {
console.log(f, "Extent has been set - ready to print", tmpExtent);
console.log("PageNumber: " + feature.attributes.PageNumber, "PageName: " + feature.attributes.PageName);
Print("PNG8.5x11Land");
});
}
hideMapBusyIndicator();
}
... View more
09-03-2015
08:53 AM
|
0
|
0
|
776
|
Title | Kudos | Posted |
---|---|---|
1 | 04-05-2018 09:52 AM | |
1 | 04-05-2018 11:30 AM | |
1 | 05-02-2016 02:11 PM | |
1 | 08-11-2015 08:01 AM | |
1 | 05-20-2015 11:27 AM |
Online Status |
Offline
|
Date Last Visited |
08-17-2023
06:59 PM
|