|
POST
|
I was mistaken we're using 4.14, can someone from ESRI look into this and please update us?
... View more
08-07-2020
09:18 AM
|
0
|
0
|
943
|
|
POST
|
Prepared a test repo, that initializes a map and allows you to jump to another page, when I run this code and jump between the pages the memory isn't being freed correctly, hopefully this helps: GitHub - docmur/angular-esri-memory-test
... View more
08-05-2020
08:13 AM
|
0
|
0
|
943
|
|
POST
|
Good Day We have a map with thousands of small polylines and as we change the zoom level the lines appear when we zoom in and disappear when we zoom out, is there a way to prevent this functionality? Can we have them render like markers, where zoomed out we just see one large marker? This is our Feature Layer / Render Build code:
buildFeatureSettings(geometryType, data, colour) {
console.log('Feature Layer Data');
console.log(data);
return {
source: data,
renderer: this.buildRenderSettings(data, colour, geometryType.toString().includes('point')),
fields: this._fields,
objectIdField: 'ObjectID',
geometryType: geometryType,
spatialReference: {
wkid: 4326
},
title: this._allAssets ? data[0].attributes.assetType : data[0].attributes.layer
};
}
/**
* Build the rendering options for the feature layer
*/
buildRenderSettings(data, colour: string, marker = false) {
return {
type: 'simple',
symbol: {
style: marker ? 'circle' : null,
type: marker ? 'simple-marker' : 'simple-fill',
size: marker ? 12 : 30,
color: _.cloneDeep(colour),
outline: {
width: 4,
color: _.cloneDeep(colour),
}
},
}
} Thanks
... View more
07-30-2020
03:00 PM
|
1
|
0
|
811
|
|
POST
|
Good Day (Editing to push back up the forum) I integrated a print template to capture the maps in our software. When I capture polylines they render without colour, but if I capture points, they render just fine, is there something I have to set when building the polylines to in order for the capture to grab the colour? I've attached some sample captures showing the difference: The legend / feature layer information at the bottom is correct, with the correct name and colour being shown, so I don't think this is a feature layer issue, this is my print template code, and I've tried using PDF, it renders the same way; printMap() {
const usePrintTask = true;
if (usePrintTask) {
const printTask = this.PrintTask({
url: 'https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task'
});
const template = new this.PrintTemplate({
format: 'jpg',
layout: 'a4-landscape',
layoutOptions: {
titleText: 'DOT ESRI Map',
authorText: 'Infrasol'
}
});
const params = new this.PrintParameters({
view: this._view,
template: template
});
printTask.execute(params).then(this.printResult, this.printError);
} else {
this._view.takeScreenshot().then( (res) => {
console.log('Res');
console.log(res);
const w = window.open('about:blank');
const image = new Image();
image.src = res.dataUrl;
setTimeout(() => {
w.document.write(image.outerHTML);
}, 0);
});
}
} printResult(result) {
console.log('Result');
console.log(result);
console.log(result.url);
window.open(result.url);
}
printError(err) {
console.log('ESRI Print Task Error: ', err);
} Have I done anything clearly wrong? Thanks
... View more
07-28-2020
09:50 AM
|
0
|
8
|
3091
|
|
POST
|
Thanks for the assistance, and especially thanks for the code sample! I was having problems finding documentation related to yesterday, but I'll implement you ideas.
... View more
07-23-2020
10:38 AM
|
1
|
0
|
6506
|
|
POST
|
Good Day Without using the Print Widget, is there a way to print the current map view? I was thinking about converting the map to a canvas or SVG and then sending that to a new tab, and calling window.print(). I tried playing with this idea yesterday, but couldn't get it to work, ideally we want a small button on the map that looks like the other widget buttons. Thanks
... View more
07-23-2020
09:39 AM
|
0
|
6
|
6629
|
|
POST
|
We haven't ran into this for the last few days, if we do I'll try to log it.
... View more
07-23-2020
09:37 AM
|
0
|
21
|
2263
|
|
POST
|
Yes, it's always well loading. In our use case we're stacking multiple GIS layers on top of each other which are rendered from WKT parsed into GeoJSON, I'll see what I can do to get you a repo that fails on my local system and if I can run into this issue I'll try to grab a HAR capture. Thanks!
... View more
07-13-2020
12:26 PM
|
0
|
0
|
2263
|
|
POST
|
Thank you for the reply. I don't have one handy, but I might be able to build on later tonight, I can't replicate this error with any consistency but it seems to be something in the dojo.lite library. I've experienced this on Firefox, Chrome and Brave, I don't run IE, and it happens on Linux, not sure about Windows. It might be related to this error, which I run into more frequently: Thanks
... View more
07-13-2020
10:51 AM
|
0
|
24
|
2263
|
|
POST
|
Not yet, apparently ESRI doesn't want to admit it exists or offer a proper solution. This might be related to the Port Closed Error that I also get from time to time. It would be nice if ESRI actually responded!
... View more
07-13-2020
07:53 AM
|
0
|
0
|
2263
|
|
POST
|
Hey I randomly run this into error, I might not see it for a day or two and then get it 20 times in one hour: Has anyone else ran into it or know what causes it? Is there a way to capture it and handle it before it causes issues? Could it be an issue with Angular 9? Thanks
... View more
07-09-2020
08:17 AM
|
0
|
0
|
583
|
|
POST
|
I have this exact same problem / error: [esri.views.layers.2d.features.support.AttributeStore] e {name: "mapview-attribute-store", message: "Encountered an error during client initialization", details: e} details: e details: undefined dojoType: "cancel" message: "Abort job: worker closing" name: "AbortError" message: "Encountered an error during client initialization" name: "mapview-attribute-store" It just loads in an infinite loop. Did you ever find out what the issue was, or find a solution? Thanks
... View more
07-06-2020
03:00 PM
|
0
|
2
|
4246
|
| 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 |
10-24-2025
07:12 AM
|