|
POST
|
A bit of light hearted relief here - Google Chrome screen shot from a generate token request [ATTACH=CONFIG]18104[/ATTACH] 😉
... View more
10-01-2012
07:03 AM
|
0
|
1
|
680
|
|
POST
|
I was having similar issues - 500 server errors. I finally did as was suggested here, loaded the proxy page with a valid URL parameter - I did it on the server so I got the real error messages - I got
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Source File: D:\zzzz\test\web.config Line: 4 The web config seems to have been generated from Visual studio when I tried the debugger from there - it isn't required in any way by my site, as it is purely javascript. deleting this file totally clears it all up and it works, Fiddler is showing nice clean requests going via the proxy page. ACM
... View more
10-01-2012
06:29 AM
|
0
|
0
|
2407
|
|
POST
|
I'm not sure of the issue - I'm using the TOC code here http://maps2.eastdevon.gov.uk/mapping/assets/ and it works fine in all browsers now (mine is slightly modified to take visible layers rather than default visibility - I did this before the core code was changed to do this) ACM
... View more
09-29-2012
12:16 AM
|
0
|
0
|
700
|
|
POST
|
Like lots of things, the measure widget is so close to being good, but needs a few tweaks. For example changing the list of units for area and length, as well as being able to set a default for the point location tool (as well as changing the list of units) - for example no-one in our organization use long/lat or DMS we use British National Grid - all our data are defined in it and that is the only system we use. Cheers ACM PS Does anyone else have the measure tool suddenly zoom in to almost real world scales on click? You click and the map zooms into a VERy small area - so small the scale bar breaks with NaN for instead of numbers.??
... View more
09-25-2012
09:50 AM
|
0
|
0
|
1880
|
|
POST
|
Hi Apart from the two in the 10.1 help (http://resources.arcgis.com/en/help/main/10.1/index.html#/Tutorial_Basic_high_quality_web_map_printing_exporting_using_arcpy_mapping/0057000000mr000000/) has anyone got any good examples of using the ConvertWebMapToMapDocument function from with the JavaScript API? I'm guessing that any such example would also have to provide the .py script as well Cheers ACM
... View more
09-25-2012
07:38 AM
|
0
|
0
|
698
|
|
POST
|
Hi - I'm working on the same problem, selectively collapse/expand at start up. Ive added an extra parameter to the definition - {
layer: altmaps,
slider: true,
title: "OS Basemaps",
isopen: false
} Now just need to know how to collapse a node from within the (excellent) code! Cheers ACM
... View more
09-19-2012
05:08 AM
|
0
|
0
|
2006
|
|
POST
|
Indeed - check out http://chawke.co.uk/infitnity_and_beyond.html for what I mean. The data for the initial extent through to the grey scale property based maps are all from a tiled service read into the MXD that generates the dynamic service. These data are all generated from Vector data, so there is a processor overhead generating it for each request. Rasterizing it and tiling it is very effective. For my internal use, these layers are just for reference, alternative, finer detailed maps are available on request. Most of our work is done on the 1:100 to 1:1250 scale range, where I need to provide infinite zoom levels that read the fine detailed vector maps (the excellent OS MasterMap) Having a cached service with a dynamic service and infinite zoom on the API will enable client based caching of the initial basemaps, nice slippy maps at those scales, and a nicer user experience. Chers ACM
... View more
09-15-2012
12:26 AM
|
0
|
0
|
2036
|
|
POST
|
Anyone know if any progress has been made on this - I too am having issues with defining what layer out of several layers for the overview map to use. Cheers ACM
... View more
09-14-2012
07:00 AM
|
0
|
0
|
922
|
|
POST
|
Did the lack of respect for width/height in accordianpanels get sorted? As I recently raised the same/Similar issue http://forums.arcgis.com/threads/65694-Overview-map-in-AccordianContainers?highlight=OverviewMap Cheers ACM
... View more
09-14-2012
06:36 AM
|
0
|
0
|
1650
|
|
POST
|
Steve - do you know if there are any plans to change this? I'd love to have a map with infinite zoom, but still use a tiled service at the higher zoom levels, I've got round this by adding the map cache into th MXD I define the service with, but this isn't ideal. Cheer ACM
... View more
09-14-2012
04:10 AM
|
0
|
0
|
2036
|
|
POST
|
Dorothea - just a thought I had this morning. Have you the ability to test in both Chrome and IE7 or IE8? If so, then is there any difference in speed? If there is a speed difference (and I'd hope Chrome would be faster) then it will be down to some JavaScript issue, as Chrome is so much faster than IE7/8. If there isn't much time difference, then the issue, as you suspect, is the time the server is spent processing the request. Cheers ACM
... View more
09-10-2012
12:14 AM
|
0
|
0
|
889
|
|
POST
|
updated file and CSS - revised screen shot showing alternating styles [ATTACH=CONFIG]17547[/ATTACH]
... View more
09-07-2012
05:55 AM
|
0
|
0
|
889
|
|
POST
|
Dorothea Here's my code. Hopefully I've not missed anything from it. Like you I will be having many layers. Our current ArcIMS internal system has about 50 feature layers and about 12 raster layers. Obviously not all on at once, but adding a layer in ArcIMS is a task, so I wanted to simplify it for my replacement. If you require the feature I've added to use the MXD layer description to power a hyperlink, then you need to add this to your init function dojo.connect(dynamicMapServiceLayer, "onLoad", function () { var content = ""
//return the layer descriptions into an array - we use this later for the info dialog to generate hyperlinks
dojo.forEach(dynamicMapServiceLayer.layerInfos, function (layer) {
var restAPIServicePage = {
url: mapservice2 + "/" + layer.id + "?f=json",
callbackParamName: "callback",
load: function (data) {
LayerDescriptions[layer.id] = data.description;
}
};
dojo.io.script.get(restAPIServicePage);
})
}); I can't claim credit for that - see this post on the old forums. You'll also need a few "var"s at the start of your code var LayerDescriptions = []
(maybe more, but you'll need to work them out) Then reference the attached file (renamed with .js extension) If you want to use the hyperlink feature then add, to your description a valid, full URL, including parameter, but surround where you want the value of a field with the field alias (see earlier post for example) Hopefully that'll all work - it is still a bit rough - as it stands it will fail if one layer name is a substring of another "So if you have a layer called "Wards" and another "County Wards" it will get confused,but the bit where it checks if the result is in a new layer or not can easily be re-written to use layer ID. The one other suggestion to improving return speed is to look at your data. Is it all in an SDE? If any shapefiles then have they got good spatial indexes? Do you have any very large polygons that get returned a lot? I had this issue on one of my maps, one polygon covering most of our district. Returning the geometry of this took about the time you have got. So for just that one feature I created a duplicate polygon with simplified features (if you haven't got ArcINFO license, you haven't got this feature , but QGIS can do it for free) - this layer was added to a different service, which was used purely for the ID task. A bit of a bodge but worked. Have fun ACM PS Just looked at the file - the test and create popup function are not needed, and looking at my screen shot I realize I haven't got the code working that alternates the row format - but I'm sure that that is a quick fix, moving my row counter increment. - I'll add any new version, plus my CSS sometime later, when I've got it working
... View more
09-07-2012
12:32 AM
|
0
|
0
|
1643
|
|
POST
|
Hi You may be interested in the code I just finished - basically doing away with tabs and re-creating the old ArcIMS html viewer look - see screen shot [ATTACH=CONFIG]17513[/ATTACH] My code does away with any hard coding in the script. It takes ALL exposed fields and displays them (although not system fields like shape, ID etc), using their aliases, as defined in the MXD. Also, it looks at the sublayer description to see if you want a specific field to act as contents in a hyperlink - so adding "http://www.eastdevon.gov.uk/my_neighbourhood?uprn=£UPRN£" in to the description will substitute the value of the UPRN filed for the string £UPRN£ (£ chosen as a delimiter as it is never used in javascript) Reply here if you want the code - still a bit rough around the edges. Also, unless you really NEED the geometry, you can speed things up with returnGeometry = false or by simplifying what is returned by increasing the maxAllowableOffset (see http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/identifyparameters.htm). Cheers ACM
... View more
09-06-2012
01:00 AM
|
0
|
0
|
1643
|
|
POST
|
Resolved adding "autofocus:false" to the creation code works.
... View more
09-04-2012
01:23 AM
|
0
|
0
|
555
|
| 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 |
09-25-2025
03:26 AM
|