|
POST
|
If available ..any reason why this wouldn't be available - it doesn't seem to be on my map services - is it a setting somewhere I have missed? Cheers ACM
... View more
11-21-2011
05:41 AM
|
0
|
0
|
2539
|
|
POST
|
Hi Two questions - my ArcGISDynamicMapServiceLayer is set to 150 dpi/PNG24, yet my overview map is coming out at 96 dpi? Is there any way of controling this? Secondly, when I print in IE8 - even with .esriOverviewMap .ovwHighlight {
border: solid 2px #004F00 !important;
background-color: transparent !important; The extent rectangle on the overview map is a solid rectangle. Chrome works fine. Is this an IE issue? Cheers ACM
... View more
11-21-2011
05:02 AM
|
0
|
2
|
910
|
|
POST
|
Tech support was able to reproduce the problem and it has been logged as a bug - NIM068764. AAAArrrggghhhh - all afternoon I've struggled with this, just about to give up when I cam e to the conclusion the FIND didn't play nice with event layers, then I found it was a bug. Doh!
... View more
11-18-2011
07:27 AM
|
0
|
0
|
1587
|
|
POST
|
Update - I tried the same code, but on my personal domain, and it works fine - which seems to point at some sort issue internal issue. But, 😄 it has enabled me to get permission to "test" IE8 on my PC (8 is as far as we can go until we move off XP) - as not only do I have this issue, but I had another scripting issue that just failed on IE7.
... View more
11-16-2011
11:51 PM
|
0
|
0
|
1255
|
|
POST
|
😮 Doh! Note to self - when re-using code from Esri examples and other places, make sure you don't call stuff twice. I'd re-used some older code wit a scale bar, but had stripped out the initial definition, so it didn't work, then added the whole lot back in - result 2 bars, one metric the other "american" - Note to Esri, here in England we are trying very hard to use metric 😄
... View more
11-16-2011
11:31 PM
|
0
|
0
|
1140
|
|
POST
|
Just a done a quick check and I can't see any major differences - so my next suspect is our ISA firewall - when our ISA chap returns next week I'll get him to trace my PC -often the cause of issues with calling remote stuff - there may be some sort of wacky "only download so many streams of data" setting.
... View more
11-16-2011
05:56 AM
|
0
|
0
|
1255
|
|
POST
|
Watch this space - the app is internal, but I work on it at home as well - last nights home version works fine! I'll send the current version home to publish on my personal site later today. In the mean time I'll have a look at what dojo.requires I added today! Cheers ACM
... View more
11-16-2011
05:53 AM
|
0
|
0
|
1255
|
|
POST
|
Hi When a user first uses a page of mine, which uses API 2.5, it hangs when initially loading, before it gets as far as the CSS, so all the items are showing unstyled. Event logs show Hanging application iexplore.exe, version 7.0.6000.17103, hang module hungapp, version 0.0.0.0, hang address 0x00000000. Killing iexplorer and starting again and it all works fine. Deleting temp internet files causes this to happen a second time. I'm guessing it is some conflict with the downloading of all the API code at once. Any ideas? ACM
... View more
11-16-2011
05:44 AM
|
0
|
5
|
1648
|
|
POST
|
I tried this myself, however it fails It has both Yards and meters on it - zooming out, just "english" and zooming in further the two units overwrtite each other. Snippet where I call it below. dojo.connect(map, 'onLoad', function(theMap) { var scalebar = new esri.dijit.Scalebar({ map: map, scalebarUnit:'metric' }); //resize the map when the browser resizes dojo.connect(dijit.byId('map'), 'resize', map,map.resize); //add the overview map overviewMapDijit = new esri.dijit.OverviewMap({ map: map, expandFactor:4 }, dojo.byId('overviewMapDiv')); overviewMapDijit.startup(); });
... View more
11-15-2011
01:02 AM
|
0
|
0
|
1140
|
|
POST
|
did you ever sort this? I have the same issue - a small internal service that I want as a dynamic layer, but I want jpg or png32. ACM
... View more
11-07-2011
04:09 AM
|
0
|
0
|
516
|
|
POST
|
Hi I'm using the sample code to creat my legend //add the legend dojo.connect(map,'onLayersAddResult',function(results){ var layerInfo = dojo.map(results, function(layer,index){ return {layer:layer.layer,title:layer.layer.name}; }); if(layerInfo.length > 0){ var legendDijit = new esri.dijit.Legend({ map:map, layerInfos:layerInfo },"legendDiv"); legendDijit.startup(); } So I would have thought that in my function that sets visibly of sublayers I would add legendDijit.refresh() But this just erors with Uncaught ReferenceError: legendDijit is not defined Friday night - I'm off home - which means I'll realize what I've done wrong at about 03:00 😄 ACM
... View more
11-04-2011
08:40 AM
|
0
|
0
|
877
|
|
POST
|
You're quite right, of course, my definition was a bit short of a true definition of "layer" as used by the desktop. But I'm glad to see in general I am not alone in thinking better terms should have been chosen at te start of the API - I can't see any way it will change now.
... View more
11-04-2011
05:18 AM
|
0
|
0
|
1317
|
|
POST
|
Cheers - but this isn't consistent, for example .visibleLayers returns the visible discrete datalayers within a ArcGISDynamicMapServiceLayer So I'm still confused!
... View more
11-04-2011
04:50 AM
|
0
|
0
|
1317
|
|
POST
|
OK on the desktop this is simple, a layer is a discrete data set, a shapefile, a layer in a geodatabase or something. However it seems to me to have two usages for the Javascript API. Take this from http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm "This sample shows how to use the Legend widget to build a legend that displays swatches and labels for the layers in the map.................The legend is displayed in one pane of the accordion container and a link that allows you to toggle the visibility of layers in the map is displayed in the other" In the instance of "layers" this refers to the discrete datasets on the map, in this example, Campgrounds, Shelters, Earthquakes etc, and refers to the legend items for each of these "layers" The second instance refers to map services added by "map.addLayers" and will give a tick box per map service - which could contain shed loads of, what I would call, "layers" Have I missed something here? ACM
... View more
11-04-2011
01:59 AM
|
0
|
6
|
1567
|
|
POST
|
Karl I came here with the same query and am just looking at the original page you linked to. I've then quickly looked at you code - is it complete? It seems to be missing some -- there seem to be several FOR loops started but not finished - or am I missing something? Cheers ACM
... View more
11-01-2011
08:35 AM
|
0
|
0
|
1182
|
| 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
|