POST
|
My organization recently implemented a permissions policy disallowing gamepad. I am not including any of the gamepad input modules in our application; it is not something we are actively using. I tried disabling gamepad in the MapView using gamepad: false; however, the map chokes on load and the console reports an error. Here's the error and call stack: Uncaught DOMException: Failed to execute 'getGamepads' on 'Navigator': Access to the feature "gamepad" is disallowed by permissions policy.
at w._forEachGamepad (https://js.arcgis.com/4.27/esri/views/MapView.js:284:66)
at new z (https://js.arcgis.com/4.27/esri/views/MapView.js:281:154)
at new g (https://js.arcgis.com/4.27/esri/views/MapView.js:271:90)
at F._connect (https://js.arcgis.com/4.27/esri/views/MapView.js:236:292)
at https://js.arcgis.com/4.27/esri/views/MapView.js:236:48
at z (https://js.arcgis.com/4.27/:1717:105)
at G.notify (https://js.arcgis.com/4.27/:182:158)
at d (https://js.arcgis.com/4.27/:178:400)
at F.l [as callback] (https://js.arcgis.com/4.27/:179:7)
at d (https://js.arcgis.com/4.27/:187:15) I can fix the issue by reverting the policy, but that is a last resort option for our organization. Any ideas on how to prevent the map from trying to call getGamepads?
... View more
07-26-2023
04:24 PM
|
0
|
1
|
1688
|
POST
|
Hello, Our app is reporting 502/504 errors on some basemap tiles: https://server.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Reference/MapServer/tile/11/1023/1024 502 ERROR The request could not be satisfied. The origin closed the connection. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. The ArcGISOnline status shows basemaps are healthy: https://status.arcgis.com/ Is anyone else experiencing issues? It appears to be on the Amazon/Esri side of things. Thanks!
... View more
04-28-2021
07:58 AM
|
0
|
0
|
648
|
POST
|
Even if the migration were to be completed within six months, my main concerns are, if there is a core security vulnerability revealed tomorrow, will Esri provide support and mitigation? ArcMap 10.8.1 wont even exit general availability until Q1 2022.
... View more
08-31-2020
12:22 PM
|
0
|
2
|
5694
|
POST
|
I reviewed that before posting - it wasn't clear whether or not Esri was taking full ownership of Python 2.7 and that they'd patch security vulnerabilities in the library. It seems to suggest they are, but it wasn't explicitly worded as such. For anything security-specific, there needs to be an abundance of clarity.
... View more
08-31-2020
12:15 PM
|
0
|
0
|
5694
|
POST
|
Since Python 2.7.x has been completely unsupported since 1/2020, and ArcMap 10.8.1 will receive patches and hotfixes until 2/2024, will Esri take ownership in patching any future security vulnerabilities discovered in the Python 2.7.x library? Is there anything official from Esri indicating ownership of security patches to the library while running within a version of ArcMap that is still supported?
... View more
08-31-2020
11:43 AM
|
0
|
7
|
6004
|
POST
|
Just from thinking about this logically, I believe we could work-out something where we are testing pre and post move to see if our target changed. If it didn't, keep the graphic. That should help with the symbol flickering, but not the pop-up. I've thought about some ways I'd handle that, in just moving the pop-up instead of closing/re-opening. But, before reinventing the wheel, I'm hoping someone in the community has some pointers - maybe there is something baked-in I am overlooking! If there isn't, I'd say this would be a good enhancement to add in the future!
... View more
06-16-2020
01:38 PM
|
0
|
2
|
4776
|
POST
|
Hey guys, We've used the JSAPI since the early days of v3, and while we have workable mouseover tooltips (opening the pop-up), one aspect we wish we could change is the smoothness of the hover/tooltip. I do not have a link to our application directly, but to give you an idea, please see the following sample: Feature widget in a side panel | ArcGIS API for JavaScript 4.15 You'll notice that every time the pointer moves, the graphic is removed and re-added to the map (causing flickering), and then the panel is subsequently refreshed. This is what we experience with our pop-up tooltip... flickering tooltips and constant symbol "redraws." It makes sense based on how it's coded, but I haven't found a better way to do this. It distracts somewhat from the user experience - we've always hoped for something more graceful, e.g.: https://www.highcharts.com/maps/demo/color-axis Has anyone had similar experiences and found success in developing smoother tooltips?
... View more
06-16-2020
01:25 PM
|
1
|
5
|
4944
|
POST
|
Can you try adding another expression checking for null, only returning the "click here" text if the URL is populated?
... View more
02-21-2020
12:46 PM
|
0
|
0
|
1327
|
POST
|
Just double-checking, have you reviewed the documentation on configuring the Web Adaptor with Portal? Configure ArcGIS Web Adaptor—ArcGIS Web Adaptor (IIS) Installation Guide (10.8) | Documentation for ArcGIS Enterprise
... View more
02-21-2020
10:23 AM
|
0
|
1
|
1782
|
POST
|
So, for example, check-out: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=layers-vectortilelayer-json In this sample, you can see it closely aligns with the discussion in Is it possible to render mapbox vector tiles (pbf) from a custom tile-server, where this chunk of code is in the Esri sample: url:
"https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer",
type: "vector" ...to simplify the other aspects, you would need the source (your server) to supply the expected JSON here - to quote: You now need to serve your actual (pbf) tiles using the url pattern specified. In this example, that would be https://ourhost/oursource/{z}/{x}/{y}.pbf.
... View more
01-08-2020
02:18 PM
|
0
|
0
|
846
|
POST
|
Noah, The thread I linked earlier - Is it possible to render mapbox vector tiles (pbf) from a custom tile-server - has information on doing this successfully using PostGIS, so it's not just in the realm of theory.
... View more
01-08-2020
02:07 PM
|
1
|
1
|
846
|
POST
|
Here's another one of my threads that has code on how to convert GeoJSON to FeatureLayer: Polygon renderer issue fixed in v4.13 - when's the release date? ...let me see if I can create something for you...
... View more
01-08-2020
01:54 PM
|
0
|
0
|
1540
|
POST
|
What happens if you change the imports to requires? E.g.: const GraphicsLayer = require("esri/layers/GraphicsLayer");
... View more
01-08-2020
01:52 PM
|
0
|
0
|
1033
|
POST
|
When it comes to feature layers, you're not bound to ArcGIS Server. For example, check-out ArcGIS API for JavaScript Sandbox This sample uses GeoJSONLayer, but you can also create a FeatureLayer from the graphics returned by a geojson call... it's just a little more work. Let me know if GeoJSONLayer isn't something you can use and I'll supply a sample for converting GeoJSON into a FeatureLayer. You can also create layers using CSVs - ArcGIS API for JavaScript Sandbox For tiles, can you use ArcGIS Online? Also, have a look at this - https://community.esri.com/thread/184269-is-it-possible-to-render-mapbox-vector-tiles-pbf-from-a-custom-tile-server
... View more
01-08-2020
01:21 PM
|
0
|
10
|
1540
|
Title | Kudos | Posted |
---|---|---|
1 | 06-16-2020 01:25 PM | |
1 | 03-20-2019 09:07 AM | |
2 | 07-31-2015 07:31 AM | |
1 | 09-14-2015 12:14 PM | |
1 | 05-12-2015 12:04 PM |
Online Status |
Offline
|
Date Last Visited |
07-27-2023
02:30 AM
|