|
POST
|
Many thanks - is it an official bug or something else?
... View more
10-28-2013
01:38 AM
|
0
|
0
|
1627
|
|
POST
|
PS - <meta http-equiv="X-UA-Compatible" content="IE=9"/> works for me. Also, without it the draw tools are borked. Also see http://forums.arcgis.com/threads/88426-Shift-Draw-Rectangle-on-the-map-to-zoom-in-does-not-work-in-IE?highlight=ie10+zoom which confirms this behaviour. Esri - is this a listed bug?
... View more
10-17-2013
06:12 AM
|
0
|
0
|
1627
|
|
POST
|
I had a similar issue - see http://forums.arcgis.com/threads/87962-IE10-and-zoom-box-fail?highlight=ie10+zoom But it has returned, and my previous "fix" seems to not work.
... View more
10-17-2013
05:57 AM
|
0
|
0
|
1627
|
|
POST
|
OK, now I had to adjust my sort - the brief was to sort on house number, but if no number then name. So 1 High Street 2 High Street 11 High Street And for named properties Aardvark House Hope House Zebra Cottage So I created a hidden column that on the face of it took the house number. However I created (with some help, see above) a formatter for this that changed the actual row DATA.
//change the actual DATA used in the hidden colum used for sorting
//Add a padded string of the house number to the rest of the address, so order is 001, 002,010 rather than 1,10,2
//We then change the actual row DATA TO THIS NEW VALUE, JUST CHANGING WHAT IS DIPLAYED DOES NOT WORK
//Return 0 just to get something there that fill no space
function PAOFormat(item, rowIndex) {
var rowdata = this.grid.getItem(rowIndex);
var sortAddress = dojo.string.pad(item,3) + rowdata.Address;
rowdata.PAO_FROM[0] = sortAddress;
return 0;
}
Changing what is displayed doesn't work.. Credit to this http://documentumcookbook.wordpress.com/2010/08/06/dojo-datagrid-combining-field-values-in-formatter/ blog post for showing how to retrieve other cell data in a formatter. ACM
... View more
10-16-2013
02:37 AM
|
0
|
0
|
2624
|
|
POST
|
I've never used resizing or have scrolling. I size the floating pane to fit the content without overflow. I was able to get a quick solution based on my example code above to be placed below the focus and show events. dojo.connect(mapinfofp, 'resize', function() { dojo.style(mapinfofp.canvas, 'height', dojo.style(mapinfofp.canvas, 'height') - 18 + 'px') } ); 18px seems to be enough. The problem I see with this is always having the extra "padding" on the bottom even when no scroll bars are showing. I suppose you could check to see if the cavas node is scrolling before changing the height. This is obviously non-AMD. Cheers! By the sounds of it, the appearance will match my CSS hack - leaves the padding there without scroll bars - but I think my users can cope - my floating pane contains the results of a "all layers, All features" ID task - just like old ArcIMS did, so it can have one feature in one table, or 100+ in several tables.
... View more
10-03-2013
07:04 AM
|
0
|
0
|
3760
|
|
POST
|
Ben - thanks for the answer - (and original code) The only issue I have now is the vertical scroll bar obscures the resize handle (which is a user requirement) - this was what the 20 px padding in the original CSS brought to the party - so any ideas? Cheers ACM Edit - so far I've managed to move it a bit with - seems OK. .dojoxResizeHandle { right:20px }
... View more
10-03-2013
05:40 AM
|
0
|
0
|
3760
|
|
POST
|
Hi I'm trying hard to switch off my ArcIMS internal browser based mapping now that I am happy with my JSAPI version. However, some users are reporting speed issues. I think some of this is down to putting requests in for services that have not been used for a while, so I'm looking at the timeout setting on the server. We have "The maximum time a client can use a service" this is defined as "The amount of time between when a client gets a reference to a service and when it releases it is the usage time" So on this one two questions. In this context is a client a end user with a web browser, or the Connection between the IIS and ArcGIS server. Secondly, does this get reset after this time regardless of use? Then we have "maximum time an idle instance can be kept running" I think I understand this, say I have a service with aerial photos, someone uses it. Then for the next X seconds the server keeps it active. If no-one uses it in that time it closes it down. If a new request is made after that it may take longer for the server to wake up - is that right? So, what recommendations do people have for these settings to ensure that during the working day users don't have to wait longer than they should for a response? ACM
... View more
09-26-2013
07:18 AM
|
0
|
0
|
2214
|
|
POST
|
OK - nothing in the logs and straight requests for legend work every time, so time for a classic hack/bodge (sorry) In the TOC.js I've changed the error routine of _getLegendInfo to call itself again
error: dojo.hitch(this, this._getLegendInfo)
WRONG on SO many levels I know, but as I have a captive user base with known map services AND this issue happens less than 1 in 5 requests then it seems to work without adding much overhead at all. If it breaks later, I'll simply cry and curl up in a corner somewhere. ACM
... View more
09-11-2013
05:21 AM
|
0
|
0
|
1933
|
|
POST
|
One thing I was about to post anyway, the dynamic services it fails on contain ONLY raster images. I was also about to dig into the server logs too. I'll post back if I find anything Many thanks ACM Edit - in fact one of the services isn't all raster - so please ignore. However the one service that is all NON-raster never fails this way.
... View more
09-11-2013
04:02 AM
|
0
|
0
|
1933
|
|
POST
|
Hi I am using Nianwei Liu's TOC - however sometimes the expand tree graphic isn't appearing. I have several dynamic map services and add them all into the TOC. Mostly this is fine. However when it fails I get "Unable to generate legends: zzzzz?Unable to connect to Host: zzzzz Port: -1?Please verify the Service URL specified is correct :- http://zzzzz/arcgis/services/LIVEinternal/aerials/MapServer?" This happens about 20% of startups. The Dynamic Service is there and at other times it is fine. I can see why it breaks the TOC, as without any legends it can't build up the child nodes in functon _createRootLayerNode as there is a IF statement that relies on a renderer being present. Cheers ACM
... View more
09-11-2013
03:06 AM
|
0
|
4
|
2686
|
|
POST
|
We do not have plans to add a "layer list" or "table of contents" widget to manage map layers and sublayers. We've resisted adding this to the API because we don't want to encourage building generic, kitchen sink style viewers. I realize that we (Esri) do not have a consistent story on this as we still provide generic viewers for other platforms/technologies. We're open to discussing it further, but I personally agree with anti-viewer, anti-portal sentiments that some have expressed online for the past couple of years (most recent example). Derek - the thing about that link you post, the main thing that jumps out at me, right in the title is the word "ONLINE" My main app is to replace and ArcIMS app, which in turn replaced a non-ESRI GIS desktop app (with per seat cost) for our INTERNAL users. As it is internal I have control over browser choice, training documentation, I can talk to all the users. The users have a finite set of requirements and use my application daily. They don't "discover" it. They are not looking for " a single layer". They don't then leave. They know what layers they need and know the broad category these layers may live in. I have, at last count, over 100 layers. I have a user base ranging from 16 to over 70 in age, probably still skewed towards the older end - in other words Digital Immigrants, not Digital Natives. For some the use of any IT doesn't come easy. Having all my layers in nice groups that match their expectations is a must. For ArcIMS this was achieved using David Bollingers TOC in my new one it is using Nianwei Liu's. Both do an excellent job. Esri should re-examine exactly what people are using their products for. ACM
... View more
09-11-2013
12:13 AM
|
0
|
0
|
3412
|
|
POST
|
🙂 Looks good - I'll try it tomorrow - right now I'm having fun with inserting directly into unversioned SDE tables using SQL and getting me geometries and geographies all mixed up - may have to post to a different forum! Many thanks Edit - couldn't wait (plus SQL not working) so tried it and works, marked as answered. Many thanks
... View more
09-09-2013
07:12 AM
|
0
|
0
|
2624
|
|
POST
|
Thanks- I found that last week, but couldn't follow it - I'll have another go now.
... View more
09-09-2013
02:15 AM
|
0
|
0
|
2624
|
|
POST
|
Yep - I think I'd got to the same conclusion, however that's where my skills end. The grid is defined so -
<table dojotype="dojox.grid.DataGrid" jsid="grid1" id="grid1" autoheight="10" rowsperpage="160" rowselector="10px">
<thead>
<tr>
<th field="Address" width="160px">Address
</th>
<th field="PAO_FROM" formatter="PAOFormat" width="160px">PAO_FROM
</th>
</tr>
</thead>
</table> and then later populated like this
//Create data object to be used in store
var data = {
identifier: "OBJECTID",
label: "LSData",
items: items
};
//Create data store and bind to grid.
store1 = new dojo.data.ItemFileReadStore({
data: data
});
console.debug(store1)
dijit.byId("keycontainer").selectChild(dijit.byId("results"));
grid1.setStore(store1); with items being the results dataset from the find task - however, right from when I view the attributes of the results it appears like
PAO_FROM: Array[1]
0: "19"
length: 1
despite the service definition stating
PAO_FROM ( type: esriFieldTypeSmallInteger , alias: PAO_FROM )
AS mentioned in the first post, I did find some reference to cellType when creating the dojodatagrid, but no fll list of types. Cheers ACM
... View more
09-09-2013
12:27 AM
|
0
|
0
|
2624
|
| 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 |
a week ago
|