|
POST
|
Sorted!! Using the above post I looked at my code - Tim's suggestion is spot on. I have a dojo Combo box that allows font selection. So it had options like "12pt" and "16pt" - as a combo box, these were the values returned. I simply changed these to "12" and "16" etc so at creation time this is what was set. And it all works - with no need to use the "ioArgs.content.Web_Map_as_JSON.replace" lines at all. So, I think the bug gets re-worded to say that when textmarkers are created with "pt" in them they fail to get printed, but work fine without "pt" in the initial creation ACM PS added PDf generated from jsapi application - all text added without "pt" in command and no further adjustments.
... View more
06-10-2013
05:06 AM
|
0
|
0
|
6302
|
|
POST
|
Finally got to look at this and did what was suggested -= a bounce back if the zoomextent was a large difference from the original dojo.connect(map, "onZoomEnd", catchZoom2);
dojo.connect(map, "onZoomStart", catchZoom); Hook the map to some functions in the init function, then //catch bad zooms//get map extent at the start of the zoom
function catchZoom(extent,zoomFactor) {
oldExtent = new esri.geometry.Extent();
oldExtent = extent;
}
//if the zoomfactor is too big, assume it is an error and go back to the original
function catchZoom2(extent, zoomFactor) {
console.debug(zoomFactor)
if (zoomFactor > 400) {
map.setExtent(startExtent);
} If anyone has a more elegant way it would be nice.
... View more
06-07-2013
04:47 AM
|
0
|
0
|
1492
|
|
POST
|
I think this issue was down to a bad de-installation of previous versions, so not important - I restored the previous snapshot (it a Virtual PC) and will try again, Cheers ACM
... View more
06-07-2013
01:00 AM
|
0
|
0
|
987
|
|
POST
|
Old thread, but I have the same issue on ANY Python script - I've just struggled updating a PC from 9.3.1 to 10.1 - I had to do a manual de-installation.
... View more
06-06-2013
06:37 AM
|
0
|
0
|
987
|
|
POST
|
I know. Well, this is what I use until the JS team will add functionality. I am not worried about the unnecessary firing. The client will handle it... Oren Ah, sorry, didn't look close enough at what you were doing, clever that (what you are doing, not me not looking) Working on it now, many thanks ACM
... View more
06-04-2013
01:00 AM
|
0
|
0
|
1504
|
|
POST
|
Thanks, but alas, that fires off every time you click onto the overview map in order to navigate using it. Does the Hide button have its own events I wonder? ACM
... View more
06-04-2013
12:32 AM
|
0
|
0
|
1504
|
|
POST
|
If we're giving it a kicking, can I add the fact that the vertical scroll bars on the right panel often fail to load in a timely manner - or indeed at all, leaving it impossible to actually use these pages - I find that when this happens a cache clear is required.
... View more
05-31-2013
07:40 AM
|
0
|
0
|
1544
|
|
POST
|
Thanks for that - we do use 10.1, but alas the dirtying of the query still produced the same error. Changing the query to a simple text based comparison does work (so, refval = "1234/abc" works) Cheers Acm
... View more
05-29-2013
12:30 AM
|
0
|
1
|
1443
|
|
POST
|
Hi I'm having issues with a query task against data in an Oracle SDE I have tried
queryTask = new esri.tasks.QueryTask("http://........../MapServer/0");
//build query filter
query = new esri.tasks.Query();
query.returnGeometry = false;
query.outFields = ['*'];
query.where = "DATE_CREATED > TO_DATE('2004-10-04 00:00:00','YYYY-MM-DD HH24:MI:SS')";
queryTask.execute(query, showResults);
But get - dojo.io.script error Error {code: 400, message: "Unable to complete operation.", details: Array[0], log: undefined} not sure what else to try, the query as shown works fine in ArcMap (where I copied it from) Cheers ACM
... View more
05-28-2013
07:15 AM
|
0
|
4
|
5549
|
|
POST
|
I think I really am asking, is what exactly does the DPI setting do? IF I have a map with a defined envelope (X1,Y1,X2,Y2) being shown in a DIV of W width and H height, then the image returned is always the same size in pixels and the same spatial coverage. Changing the DPI setting makes lines appear thicker (at higher DPIs) but that is about all the difference I can see. Cheers ACM
... View more
05-16-2013
12:24 AM
|
0
|
0
|
754
|
|
POST
|
I don't understand, the smaller the DPI I request, the better the image. 96 DPI 150 DPI 300 DPI Have I missed something fundamental about DPI here? Cheers ACM PS I tweaked the anti-alias setting and things look better, so those links may not show what I meant anymore.
... View more
05-15-2013
07:16 AM
|
0
|
2
|
1135
|
|
POST
|
Hi If you look at the example I linked to above, you'll notice some cunning code (got from somewhere else here, - this excludes various fields. if (j.toUpperCase() != "OBJECTID" && j.toUpperCase() != "SHAPE.FID" && j.toUpperCase() != "SHAPE" && j.toUpperCase() != "SHAPE_AREA" && j.toUpperCase() != "SHAPE.AREA" && j.toUpperCase() !=
"SHAPE.LEN" && j.toUpperCase() != "SHAPE_LENGTH") {
infotext += "<th class='idheader'>" + j.toUpperCase() + "</th>";
} I'm sure that could be modified for other types of display ACM
... View more
05-14-2013
08:41 AM
|
0
|
0
|
1451
|
|
POST
|
😄 Brilliant - I had to use this "replaceAll" function as I couldn't get the normal javascript one working. And, something is still not quite right with the size - I had three text annotations of different sizes and they all came out the same, but they are readable and in almost the location the user addded them, so a good work around until esri solve the bug Images are screen, without fix, after fix Cheers ACM
... View more
05-14-2013
01:58 AM
|
0
|
0
|
6302
|
|
POST
|
So, am I right in thinking that this bug is with ArcGIS Server, not the API? In which case should we be shouting about it on the Server forums? ACM
... View more
05-09-2013
08:06 AM
|
0
|
0
|
3765
|
|
POST
|
:DI think that is more or less what my colleague is going to do. Thanks anyway. ACM
... View more
05-07-2013
07:39 AM
|
0
|
0
|
565
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-19-2026 12:29 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|