|
POST
|
..and thank you from me. I have been playing with this code http://warblingdiode.blogspot.co.uk/2010/02/watermarking-your-maps-with-esri-arcgis.html?m=1 To add watermarks - I was putting it all in the init function, rather than the onload - saw this post, moved it, and it all works. Now of course Esri will probably add a watermark feature in the next release or something, but who cares 😄 ACM
... View more
04-25-2012
12:24 PM
|
0
|
0
|
685
|
|
POST
|
Any update on this? Will 10.1 be released at the same time as all the other 10.1 products? Cheers ACM
... View more
04-25-2012
07:29 AM
|
0
|
0
|
559
|
|
POST
|
Thanks for that, although that it stretching my (limited) skills I'm afraid. Declaring it global outside the function certainly doesn't work I'm afraid. ACM
... View more
03-21-2012
01:18 AM
|
0
|
0
|
884
|
|
POST
|
Cheers - I'm pretty sure I tried all combinations of where and how to declare the variable. I'll try it all later when I'm at work, although I think overnigt, I've decided to re-do it using an identify task as there will be other layers I want to check against, which may vary. Ta ACM
... View more
03-20-2012
11:19 PM
|
0
|
0
|
884
|
|
POST
|
Hi I'm trying to hack about with the query tasks to get a YEs/No reply to a simple question - does the point passed to a page fall within our area I have code like (x & y get defined earlier from URL parameters) function checkus() {
queryTask = new esri.tasks.QueryTask("http://<our server>/ArcGIS2/rest/services/eforms2/MapServer/0");
var point = new esri.geometry.Point(x, y, new esri.SpatialReference({wkid:27700}));
query = new esri.tasks.Query();
query.returnGeometry = false;
query.geometry = point
query.outFields = ["admin_name"];
queryTask.execute(query);
dojo.connect(queryTask, "onComplete", function (results) {
if (results.features.length>0) {
alert("In Our Area");
}
else {
window.location = "NoUs.asp"
}
}
);
}
I am trying to insert a variable inside the the bit that looks for the number of records returned, but try as I can, I can't get the variable to be global, as soon as that part finishes, so, it appears does the variable. I must be doing something totally daft here. Cheers ACM
... View more
03-20-2012
06:08 AM
|
0
|
5
|
1583
|
|
POST
|
Hi I'm passing two parameters to a map, car number plate and date. It fails - Date on its own works - the debug is; layerDefinitions: Array[1] 0: "time>'2012-02-16'" Car Reg (twice to prove the AND works) also works layerDefinitions: Array[1] 0: "vehreg='BF58UJJ' and vehreg='BF58UJJ'" But car Reg and date fails, with a "TypeError" layerDefinitions: Array[1] 0: "time>'2012-02-16' and vehreg='BF58UJJ'" I'm using the latest (2.7) version of the API in compact mode. Any ideas? Cheers ACM
... View more
02-24-2012
02:24 AM
|
0
|
0
|
769
|
|
POST
|
many thanks - I'll take a good look at that next year, it seems to be a good starting point Cheers ACM
... View more
12-23-2011
03:30 AM
|
0
|
1
|
1868
|
|
POST
|
Steve - two days before Christmas and I am running down for the year - any chance you could post what you did? I was after exactly the same. I've got to e-write my ArcIMS code next year, and replacing IDs with names was a crucial step in my old IMS stuff - also generously written by someone else! Many thanks ACM
... View more
12-23-2011
01:21 AM
|
0
|
0
|
1868
|
|
POST
|
Tom I've just had a quick look at your print routine and it is great - it brings back a floating page thingy that we lost from our old GIS when we moved to esri, so some of our old hands will love it. Has anyone got it working in the Javascript API yet? My skills are only developing at the moment and I've never looked at flex at all. Cheers ACM
... View more
12-14-2011
03:57 AM
|
0
|
0
|
328
|
|
POST
|
I think I have answered my own question, but as I couldn't find it documented anywhere I thought I'd post for future reference. (feel free to point me to where it is documented if I am wrong) It appears that if you do not enable "web access" for your map service the legend widget fails. Looking at the Chrome diagnostic, the actual image URL seems to be http://utility.arcgis.com/sharing/tools/legend?soapUrl=http%3A//<my domain name>/ArcGIS2/services/locate1/MapServer&returnbytes=true&f=json&callback=dojo.io.script.jsonp_dojoIoScript3._jsonpCallback Which seems to confirm what I discovered after a lot of grief, no web access, no legend. ACM Edit- Doh! IT is documented, I just didn't fully understand it. If the layers are version 10 or lower the legend is created using the ArcGIS.com legend service. In order to use the ArcGIS.com legend service your map service needs to be publicly accessible and your application must be able to access ArcGIS.com.
... View more
11-22-2011
03:46 AM
|
0
|
0
|
736
|
|
POST
|
Ah, that'll be it then :cool: another good reason to get my code sorted, so I can move to 10 (currently shifting an ArcGIS Image Server Service off ArcIMS, in order for me to migrate the rest to 10, before moving the rest of my stuff to AGS)
... View more
11-21-2011
11:13 PM
|
0
|
0
|
310
|
|
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
|
1752
|
|
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
|
682
|
|
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
|
904
|
|
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
|
706
|
| 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
|