|
POST
|
exception in animation handler for:onAnimate TypeError: Unable to get property 'width' of undefined or null reference Hi I have a site, it is accessed at times with URLs with parameters (default zoom, default layers, and stuff) In IE if I go straight via a shortcut/hyperlink elsewhere I get
exception in animation handler for:onAnimate
TypeError: Unable to get property 'width' of undefined or null reference
In the IE debug window and something then goes splut and nothing loads. I use the browser refresh and all is fine. If I go to the URL bar in IE and hit enter it fails again Tome, this looks like my init function isn't completing at the right time and various components haven't been loaded, but why this odd behaviour that it only fails when going there directly, and not on refresh? It even works if I clear the cache before hitting refresh, so it isn't the fact that it loads the scripts locall;y, therefore faster. Puzzled! ACm
... View more
10-08-2014
03:56 AM
|
0
|
6
|
2438
|
|
POST
|
This bug has been fixed in 3.11 - I've just tested it and the measure-end event only triggers when the area tool is double clicked rather than at each node. There's also a few new events. Enjoy
... View more
10-07-2014
07:17 AM
|
1
|
0
|
5774
|
|
POST
|
Have a read of https://community.esri.com/message/342697?sr=search&searchId=e912b943-0f92-4cca-9ce3-093c5d40d80e&searchIndex=10#342697 A lot there about styling floating Panes
... View more
09-17-2014
05:04 AM
|
0
|
0
|
2688
|
|
POST
|
mmm - I think the issue will be the fact that the ArcMap side of this may try to get the extent in, rather than prioritize the scale. beyond me now I'm afraid.
... View more
09-15-2014
05:33 AM
|
0
|
1
|
2295
|
|
POST
|
No, as I don't use a tiled base map so I have no set zoom scales (well, actually, my base map is a dynamic service, but that dynamic service has, for most scales, a set of tiles, only lower than 1:3,000 does it then hit the fine detailed vector maps) So, my pull down just has a list of common scales the users want, plus allows type in of values
... View more
09-15-2014
05:07 AM
|
0
|
3
|
2295
|
|
POST
|
I've not had any problems here (that I recall) I have a drop down list for scale too, and my print function is below. It reads in a few extra user stuff, like template, quality, notes (the varibles returned by the various dijit.byId and Dojo.byID). But seems to work. I'm sure I did some tweaking, but cannot remember what.
function DoPrint() {
graphicsClear();
var legendLayer = new esri.tasks.LegendLayer();
legendLayer.layerId = "mainmap";
SelectedTemplate = dijit.byId('templateselect').attr('value');
vPrintTitle = dojo.byId("PrintTitle").value;
vPrintComments = dojo.byId("PrintComments").value;
vQuality = dijit.byId('quality').attr('value');
var printTemplate = new esri.tasks.PrintTemplate();
if (SelectedTemplate == "maponly") {
printTemplate.format = "JPG";
} else {
printTemplate.format = "PDF";
}
printTemplate.layout = SelectedTemplate;
printTemplate.exportOptions = {
width: 2125.98,
height: 2362.2,
dpi: vQuality
};
// console.debug(printTemplate);
var layoutOptions = {
"copyrightText": currentcopyright,
authorText: vPrintComments,
titleText: vPrintTitle,
scalebarUnit: 'Miles',
legendLayers: [legendLayer]
};
printTemplate.layoutOptions = layoutOptions;
var printParams = new esri.tasks.PrintParameters();
printParams.map = map;
printParams.outSpatialReference = map.spatialReference;
printParams.template = printTemplate;
var printURL = "http://zzzzzzzzzzzzzzzzzzzzzzzzz/rest/services/PrintService2/GPServer/Export%20Web%20Map";
var printTask = new esri.tasks.PrintTask(printURL);
printTask.execute(printParams, function (result) {
window.open(result.url + "?timestamp=" + (new Date().getTime()), '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=620,height=600');
printbox.hide();
});
}
... View more
09-14-2014
09:20 AM
|
0
|
5
|
2295
|
|
POST
|
Jonathan Uihlein wrote:
Thanks for the feedback. I was able to recreate this issue and it is indeed a bug.
This will be fixed in the next release.
Promise? As it's been well and truly documented here on numerous threads since IE10 days, so not a new issue in anyway. previous threads https://community.esri.com/message/334727?sr=search&searchId=e386cdbb-ca50-435e-b70b-6847d8485f0e&searchIndex=10#334727 https://community.esri.com/message/78133?sr=search&searchId=e386cdbb-ca50-435e-b70b-6847d8485f0e&searchIndex=1#78133 https://community.esri.com/message/387162?sr=search&searchId=e844ff85-f58e-42ff-9975-61f3f4122b2e&searchIndex=11#387162
... View more
08-19-2014
02:47 AM
|
0
|
1
|
2174
|
|
POST
|
logged as a bug Esri Inc Bug: NIM#104292 I'll update here if I hear anything else, but as it is a bug it has now left the control of our local Esri.
... View more
08-14-2014
06:27 AM
|
1
|
1
|
1964
|
|
POST
|
Yep - got it with Esri(UK) at the moment, but not much movement.
... View more
08-13-2014
03:27 AM
|
0
|
2
|
1964
|
|
POST
|
Thanks for that - I'll try it later. But I do think it is a bug, or a t least a "Breaking Change" as the examples given measurement-amd | API Reference | ArcGIS API for JavaScript no longer work as the event no longer does what it says it does. On-measure-end is quite clear in what it should do, an event that fires when measurement is ended. It doesn't. It fires when a polygon has been created and an intermediate measurement has been calculated. This only fails for area. For length a result is returned with each click without firing the on-measure-end event.
... View more
08-12-2014
08:39 AM
|
0
|
0
|
1964
|
|
POST
|
Not yet - it would take a fair bit of re-coding - not that urgent at the moment - thanks anyway.
... View more
08-12-2014
06:18 AM
|
0
|
0
|
1204
|
|
POST
|
Ah sql server - What is the meaning of the prefix N in T-SQL statements? - Stack Overflow
You may have seen Transact-SQL code that passes strings around using an N prefix. This denotes that the subsequent string is in Unicode (the N actually stands for National language character set). Which means that you are passing an NCHAR, NVARCHAR or NTEXT value, as opposed to CHAR, VARCHAR or TEXT.
... View more
08-12-2014
06:09 AM
|
0
|
2
|
1204
|
|
POST
|
The N - Dunno - it is what SQL Manager puts in when you design a query - I have no idea why or what it does - I never write it myself and they always work
... View more
08-12-2014
06:08 AM
|
0
|
3
|
1204
|
|
POST
|
Hi I'm trying to re-create this T-SQL in a find task
SELECT OBJECTID, UPRN, LADDRESS, PASTEADDRESS, LOGICAL_STATUS, LPIKEY, PROPERTY_TYPE, ORGANISATION, USRN, STREET_NAME, TOWN_NAME, LOCALITY,
POSTCODE, POSTTOWN, UPDATED, STREET_REF_TYPE, POSTALLYADDRESSABLE, PROPERTYSTATE, LPISTATUS, XREF, YREF, Shape, SortPAON
FROM v_ADDRESSES_FULL_LLPG
WHERE (PASTEADDRESS LIKE N'1 %FORE STREET%')
The important bit is the WHERE. This will return "1 Fore Street" but also " 1 The Fishermans, Fore Street" , "1 - 4 Forestreet" and a host of others. How do I specify this in a query for a find task? Cheers ACM This
... View more
08-12-2014
04:16 AM
|
0
|
5
|
1629
|
|
POST
|
Anyone any ideas on this? As it is it is a breaking change preventing me from moving to 3.10.
... View more
08-11-2014
05:37 AM
|
0
|
0
|
1964
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2025 01:14 AM | |
| 1 | 12-01-2023 06:07 AM | |
| 2 | 11-29-2024 04:32 AM | |
| 1 | 05-28-2024 12:50 AM | |
| 1 | 03-16-2023 06:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|