|
POST
|
Thanks for the suggestion, I can play around with that idea and see where I can take it.
... View more
04-22-2021
02:19 PM
|
0
|
0
|
1239
|
|
POST
|
Good Day I have a map with a mix of points and polygons: If I zoom out and try to select a polygon near the point, the point will almost always be included in the Hit Test, to spite not overlapping the polygon. In this case I was trying to select the area pointed to by the red arrow. If I look at the hit test I see two elements, are obviously the point and the polygon: My question is, how do I query the correct object? It has the screen point, which I assume has to be the tip of the mouse pointer, so is there away to correlate that again the objects returned from the Hit Test? This is core part of the Hit Function: clickHandler() { this._view.on('click', (event) => { console.clear(); console.log('Click Event'); console.log(event); this._view.hitTest(event).then((response) => { console.log('Hit Test Result'); console.log(response); }); }); } Thanks
... View more
04-22-2021
11:17 AM
|
0
|
2
|
1252
|
|
POST
|
Sorry, I totally spaced on this ticket! I changed our code over to use ArcGIS Core from: https://github.com/Esri/jsapi-resources/tree/master/esm-samples I used that to create this example: https://github.com/docmur/angular-core-esri I accidentally left it running for 60 hours last weekend and overall the memory was fine. It grabbed a little for the map, but otherwise didn't grab anymore. Take a look and see if you can make it work 🙂
... View more
04-22-2021
11:10 AM
|
0
|
0
|
4390
|
|
POST
|
I'll try that on my end, I was doing some similar in 4.15 / 4.16 of the ArcGIS lib, but maybe things got better in 4.17+. Thanks for the tip! Cheers
... View more
03-21-2021
11:51 AM
|
0
|
0
|
4441
|
|
POST
|
Well you've been talking with Andy whose fairly responsive, and that's good! I know at a few other ESRI dev's know about this, and I've given them a couple test repo's to demonstrate the issue, so I'm not sure what else we can do. Apart from refreshing, which is certainly not ideal, I think we're stuck until they figure out a solution on their end.
... View more
03-18-2021
08:46 AM
|
0
|
0
|
4450
|
|
POST
|
Your map-service is doing the same thing our esri-service is doing, so at least we approached the problem from the same angle!
... View more
03-18-2021
07:35 AM
|
0
|
2
|
4454
|
|
POST
|
You're describing exactly what our problem is! We have several areas where we build up rather complex maps with thousands of sections and assets on them, including Widgets, and no matter what I flush, free, null, destroy or delete, we always have ~100 - 200 MB of memory kicking around from each map, that I can't get rid of. In most cases this isn't an issue because people don't use our software long enough or cycle through enough maps to create an issue, but it's 100 - 200 MB each time you visit a map, so if you work with the maps for a couple hours and cycle them 10 - 15 times, you're easily holding 1GB - 2GB of memory that we have no way to free. If you come up with a solution please let me know, because apart from refreshing the site I don't know what to do. I'll take a look at your example, but I suspect I'm doing exactly the same thing - 🙂 Cheers
... View more
03-18-2021
07:24 AM
|
1
|
0
|
4454
|
|
POST
|
Not really, we just refresh the site when you move from a map page to any other page, which solves the problem. It's not ideal but it works.
... View more
03-18-2021
06:35 AM
|
0
|
5
|
5440
|
|
POST
|
Sorry about the late reply, I tested on next and this is what rendered: Which is the same kind of behaviour I'm seeing with 4.17. I'm not allowed to release the host feature layer, not my decision, sorry. I disabled and enabled all the features and the view didn't change, I left it for a solid 5 minutes to render which about 4.5 minutes longer then it ever takes. I noticed some errors in the console: Thanks
... View more
12-08-2020
08:10 AM
|
0
|
1
|
4070
|
|
POST
|
Thank you for responding. We ended up using a host feature layer as it's border line insane how much memory we use otherwise. If we build the layer ourselves we don't see the same graphical glitch as in my other post. Right now we have 1 large layer and that's all we need, it's working nicely. Thanks
... View more
12-04-2020
12:56 PM
|
0
|
1
|
1753
|
|
POST
|
I'll do both, won't be for a few hours, but I'll update this thread when it's ready. Thanks for you for getting back to me.
... View more
12-03-2020
11:29 AM
|
0
|
3
|
4103
|
|
POST
|
Can someone from ESRI please comment on this? The memory savings with 4.17 are dramatic over 4.16, if I cycle the maps ~20 times (clicking between the tabs after the map renders), the memory usage on 4.16 will be ~1.3 GB, whereas on 4.17 it's 155 MB, as read from the memory tab, after garbage collection, in the console. It would be nice if this problem could get resolved in 4.17 so we can make use of the memory savings. Thanks
... View more
12-02-2020
08:20 AM
|
0
|
0
|
4121
|
|
POST
|
It's a bug, I dropped to 4.16 and the output it right,
... View more
11-30-2020
09:31 AM
|
1
|
5
|
4128
|
|
POST
|
Good Day We have a large view of the entire country of Sweden, and when we're zoomed out the Feature Layer isn't rendering completely. If we zoom into smaller areas the view is correct, but at a zoomed out view it's very broken. We've noticed the same issue in ArcGIS Online, is this a bug? We'd like the entire country filled in, as we have data for it, not sure what's causing this.
... View more
11-29-2020
05:30 PM
|
0
|
7
|
4172
|
|
POST
|
Solved, if you're trying to do the same thing, try this, making sure to fill in username and password: const tokenURL =
'https://www.arcgis.com/sharing/generateToken?username=<>&password=<>&client=requestip&f=json'
this.http.httpGet(tokenURL).then((res: any) => {
identityManager.registerToken({
server: 'https://www.arcgis.com/sharing/rest',
token: res.token
});
/* Map Init Here */
}).catch((error) => {
console.log(error);
})
... View more
11-28-2020
12:25 PM
|
3
|
1
|
4577
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-25-2025 07:33 AM | |
| 1 | 03-18-2025 11:15 AM | |
| 1 | 10-07-2022 08:14 AM | |
| 1 | 08-25-2023 10:47 AM | |
| 1 | 02-23-2023 08:22 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-13-2026
07:55 AM
|