|
POST
|
Whilst it is nice you got my hack working, I should have reposted here earlier to say I got nliu's method working fine, and now don't have any changes to the stock code (apart from one tiny style change, but that is just cosmetic) - so it'll be worth trying the developer's method again, if you haven't already done so. It'll make it much easier when new code is released (like it just has been) ACM
... View more
08-02-2013
11:03 PM
|
0
|
0
|
2273
|
|
POST
|
Many thanks - I did that first, but must have got it wrong somewhere, as trying again and it all worked.
... View more
07-26-2013
06:44 AM
|
0
|
0
|
1209
|
|
POST
|
SORTED - This was SO simple when discovered by Zoltan/Esri(inc), although logged as an official bug - NIM093153 - Tile Package Added as a Basemap to ArcGIS for Windows Mobile Project Center Not Rendering Correctly on Specific Windows 8 tablet devices. NIM093153 - Tile Package Added as a Basemap to ArcGIS for Windows Mobile Project Center Not Rendering Correctly on Specific Windows 8 tablet devices. Fix for these is to ensure the screen DPI is set to 100% in the Win 8 display setting - on our tablet it was set (even stating it was a default) to 125% ACM
... View more
07-24-2013
01:52 AM
|
1
|
0
|
3583
|
|
POST
|
Hi Whilst I've got this working, I can't seem to hook anything up to the "close" button - which is really a dock button. Which event works? I'm using a floating pane for my draw tools, so want it to deactivate the draw tools totally when "closed" Cheers ACM Doh! it was there all the time, needed adding some code dojo.forEach(dojo.query('.dojoxFloatingMinimizeIcon'), function (i) { dojo.attr(i, 'onmouseover', 'dojo.style(this, "backgroundPosition", "-21px 50%")');
dojo.attr(i, 'onmouseout', 'dojo.style(this, "backgroundPosition", "0 0")');
dojo.attr(i, 'onmousedown', 'dojo.style(this, "backgroundPosition", "-42px 50%")')
dojo.attr(i, 'onClick','alert("This floating pane has been docked")' )
});
... View more
07-23-2013
01:22 AM
|
0
|
0
|
1434
|
|
POST
|
This still seems to be the case at 3.5 - is that really the case?? Amazing oversight surely? Any work a-rounds? Cheers ACM
... View more
07-22-2013
05:41 AM
|
0
|
0
|
4504
|
|
POST
|
Apparently IE10 doesn't do DXImageTransform - so has anyone got any ideas how to do this in IE10 ? Cheers ACM
... View more
07-19-2013
05:56 AM
|
0
|
0
|
2697
|
|
POST
|
Tim - does it work for you using 10.1.1 when run on an XP PC? Zoltan's been looking after my call too 🙂 Although not sure this is the same as I did save the PBK file as WGS84 and that failed too Maybe I should download an earlier version.
... View more
07-18-2013
09:06 AM
|
0
|
0
|
3583
|
|
POST
|
bump - so no-one out there has had any issues with local installation of 3.5 (and indeed 3.4 as the folder structure is 3.4/3.4 in that download) Cheers ACM
... View more
07-17-2013
06:15 AM
|
0
|
0
|
1209
|
|
POST
|
Hi Is it OK to put a link to a similar issue that I raised a few days ago - http://forums.arcgis.com/threads/88405-Dynamically-created-datagrid-inside-ExpandoPane-sizing-issues - I've had allsorts of issues with a datagrid inside a expandopane. every time the pane collapses it re-sizes the datgrid away from the definition - sounds very similar to the OPs problem Cheers ACM
... View more
07-17-2013
06:14 AM
|
0
|
0
|
2041
|
|
POST
|
Hi I'm trying to install JSAPI 3.5. The instal.html that comes with it says to unpack the \arcgis_js_api\library into your server. Then to change the paths in the two files to ""<myserver>/arcgis_js_api/library/3.5/jsapi/" However, after copying the folder as specified my paths are different from the 3.3 install, and from these notes. The paths are now "D:\<IIS Home folder>\arcgis_js_api\library\3.5\3.5" - I tried modifying the paths in the two files to this new version but everything went splut. Errors below Is this just a case that the notes haven't been upgraded or has something else gone wrong? ACM GET http://xx/arcgis_js_api/library/esri/nls/jsapi_en-gb.js 404 (Not Found) init.js:15 Uncaught Error: xhrFailed init.js:15 GET http://xx/arcgis_js_api/library/3.5/dijit/dijit.js 404 (Not Found) init.js:15 Uncaught Error: xhrFailed init.js:15 GET http://xx/arcgis_js_api/library/3.5/dijit/form/Textarea.js 404 (Not Found) init.js:15 Uncaught Error: xhrFailed
... View more
07-16-2013
04:58 AM
|
0
|
3
|
1742
|
|
POST
|
OK, Here's what I have - I have a classic layout of expando panes. Left with TOC, main with map and bottom with other stuff. The bottom pane starts collapsed. I use this for a datagrid showing results of a find task. This datagrid will vary according to what layer is searched and is creadte fresh for each search. If a previous one exists it will be destroyed. This is the code that does that bit var w = dijit.byId("gridx"); if (w) {
w.destroy();
}
//then we construct a new DOM node, gridx,
require(["dojo/dom-construct"], function (domConstruct) {
domConstruct.place(infotext, "xxx", "after");
});
//because we are using a DataGrid we need to run the dojo parser again to get the info on it
//but just on the gridx object, totally re-ruunning it will fail as it will re-register existing items
dojo.parser.instantiate([dojo.byId("gridx")]);
I then create the new datagrid here's the first line of that bit var infotext = "<table data-dojo-type='dojox.grid.DataGrid' style='width: 97%; height: 120px;' style='overflow:auto' data-dojo-id='gridx' id='gridx' ><thead><tr>";
I then expand the expandopane if (!dijit.byId("footer")._showing) { dijit.byId("footer").toggle();
} Now the issue. The first time I run this the style of the datagrid as set above is ignored, resulting in a much bigger grid, any scroll bars are well off the visible screen. Subsequent runs of this routine work. I have created a dummy datagrid at the initial load that is the right size, but this doesn't do anything BUT, and this isn't 100%, if I expand the ExpandoPane straight after the initial load, with the dummy grid, that causes the size of the first real run to be correct. It seems to me to do with the fact that the ExpandoPane is collapsed. I have moved the expand routine to after I create the new datagrid within it, but that fails to. I've spent nearly a day playing around with this! Any help would be much appreciated ACM PS as a work around I have set it so that as soon as the user starts the search process (hits a button and a dialog box appears for the parameters) this is when I expand the results pane. If no results it collapses again. This seems to work. edit 2 Just noticed - once the datagrid is in the expandopane and correctly sized. I collapse the pane, then uncollapse it and the grid has all gone silly again. So what exactly happens to the contents of the pane when it collapses? Do they all get a resize command? Here's the before collapse generated HTML <div hidefocus="hidefocus" role="grid" dojoattachevent="onmouseout:_mouseOut" tabindex="0" aria-multiselectable="true" class="dojoxGrid" id="gridx" align="left" widgetid="gridx" aria-readonly="true" aria-activedescendant="gridxHdr6" style="width: 97%; height: 120px;">
.
.
and after collapsing the expnadopane <div hidefocus="hidefocus" role="grid" dojoattachevent="onmouseout:_mouseOut" tabindex="0" aria-multiselectable="true" class="dojoxGrid" id="gridx" align="left" widgetid="gridx" aria-readonly="true" style="width: 1680px; height: 18px;">
.
. So, even when hidden my data grid has been resized incorrectly!
... View more
07-12-2013
01:09 AM
|
0
|
1
|
3271
|
|
POST
|
Ah - I see - amazingly I went to that page earlier, but didn't read it the same way I do now! I was looking for a easy way to access a variety of (non-spatial) data tables from different data sources which I currently hit using classic asp script - many of our layers have lots of extra data stashed all over the place in non-spatial corporate systems, which are linked with unique property keys . I think I may either stick to my classic asp. or add all these as tables to a map service and hit them that way. On that subject, when I did try adding a table to a map service earlier the layer number was the last layer - I couldn't seem to be able to define the order. Any ideas on that one? Cheers ACM
... View more
07-10-2013
12:05 PM
|
0
|
0
|
1982
|
|
POST
|
Hi I have a need to query a single table in my SDE in my API pages. I stumbled across the QueryDataSource class https://developers.arcgis.com/en/javascript/jsapi/querydatasource-amd.html There seems no examples of this in use and very scant documentation. The main thing I realized straight away is I had no idea what the "workspaceId" is beyond the description" The workspace id for the registered file geodatabase, SDE or Shapefile workspace." Am I right in assuming this is one of the data connections we started to have to define in ArcGIS server 10.1? I'm not sure it can be as there isn't a note to say it requires 10.1 Cheers ACM edit - I have a feeling I'm going to answer this one myself by the end of a the day, but just found this ArcGIS Server 10.1 also provides the ability to work with data in a registered workspace but not published via a map service. This gives administrators and developers the flexibility to add data to apps that isn't visible from the REST services directory. The caveat is that developers need to know the workspace name and data layer/table name to be able to add it to a web application. To see this in action, click the "Add Lakes" button. The lakes layer can then be reordered within the map service. My bold/underlining - so is it the NAME I need? OK failed there, moved onto TableDataSource - same issue with lack of docs and using the Data connection name I get Unable to find 'workspaceId'in 'dataSource' for dynamic dataLayer with 'id': -1.", No-where can I find what the ID is.
... View more
07-10-2013
05:12 AM
|
0
|
4
|
3369
|
|
POST
|
Ok - resolved this so I thought I'd share. It looks like something to do with proxies/CORS. Whilst the map looked OK, various map.onload events hadn't attached. My dev system on url http:\\mysys_dev referenced the API on http:\\mysys_live - when I copied the API over to the dev URL everything worked. I haven't investigated the various options for controlling CORS yet, but in fact the situation is better for me, as I can have differnt versions of the API of dev and live
... View more
07-06-2013
12:55 AM
|
0
|
0
|
709
|
|
POST
|
Hi This is something specific to my code, so I must have borked it somehow, but my development version of an internal app works fine APART from the absence of the zoom box - normally red outline with semitransparent grey fill. The functionality of the zoom works fine - you zoom into the area that would have been indicated. There are no console error messages. The esri sample work OK. I'm using my own hosted 3.3 API. Any pointers anyone before I tear my code down? Cheers ACM
... View more
07-04-2013
09:06 AM
|
0
|
1
|
1344
|
| 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
|