|
POST
|
True, but that hits the problem I mentioned before, in that if new users are added I have to tweak the service, in which case I can get ArcMap to do the rotation. Cheers ACM
... View more
04-29-2013
09:32 AM
|
0
|
0
|
1011
|
|
POST
|
Yes - I can see that may help. However I still have the problem of separating the users as well as the direction, So Fred North East should be blue and Joe North East should be red, but both the same shape. I can see your solution working on part of the project, where a manager selects a particular user to spy on , sorry track, where the only markers displayed are that user. So maybe, two render functions. One for an overview where the manager can see all the users. The the other when a specific user is selected, where direction of travel is indicated. I'll run that one past the chap who is pulling this together tomorrow Cheers ACM
... View more
04-29-2013
08:52 AM
|
0
|
0
|
1011
|
|
POST
|
Nope just g.setInfoTemplate(null);
g.setAttributes(null); For everything - polygons and stuff all print fine - but the bug seems to fit what happens now [NIM090748: Printing service fails to honour the font size of textSymbols.]
... View more
04-29-2013
08:15 AM
|
0
|
0
|
540
|
|
POST
|
Hi I've been asked to produce a feature layer that has details of staff, their locations and direction of travel. I am provided with a SQL table that contains the name, XY and Rotation Angle. Which by default I add as an event theme in ArcMap and publish as a service. I can see three ways of doing what is wanted. Handle all this in ArcMap and publish the service. the problem is that when new users are added I need to add them to the class definitions. Use esri.renderer.UniqueValueRenderer to set the render at runtime, but I can't see a way to include the record specific rotation, but it will allow me to change the render based on all users found in the layer (a simple group by somewhere should do this) Don't add the feature layer to the map, bu loop through it where field value equals selected name, add a new graphic with rotation pulled from the record attribute. As I see it all these have flaws, but I'm no expert. So advice more than welcome. Cheers ACM
... View more
04-29-2013
05:58 AM
|
0
|
4
|
1413
|
|
POST
|
Ok - using the code above I got it not to error - but then I hit the second bug of it not taking any styles to the print . Doh! Any fixes anyone for this? Cheers ACM
... View more
04-28-2013
07:46 AM
|
0
|
0
|
2657
|
|
POST
|
OK - this may be a noob question (sorry, too much gaming this weekend!) but what exactly do the templates do? Is there any need to re-establish them? Could I not simply destroy them on creation? ACM
... View more
04-28-2013
02:17 AM
|
0
|
0
|
2657
|
|
POST
|
The same issue is reported here http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task With another confirmed bug - I think someone from Esri needs to round all these threads up - close all but one and give some answers - please! ACM
... View more
04-26-2013
05:55 AM
|
0
|
0
|
2657
|
|
POST
|
Hi 2. does not support a point with ESRI.ArcGIS.Client.Symbols.TextSymbol Would this be the reason why my web pages using the Javascript API refuses to print text annotation added by the user? I know it is a different interaface, but it seems like the error I get Layer "graphicsLayer1": Field 'newID' not part of schema for this feature collection. Is ArcGIS server related. Cheers Adrian
... View more
04-26-2013
03:22 AM
|
0
|
0
|
2725
|
|
POST
|
Hi Am I missing something, but according to the API notes there appears to be no events for the overview map. What i am wanting to do is when a user hides the overview map, a cookie/local storage thingy is written with the map status. This will then get read in next time they use the page. But I can't seem to find any events to hang the code from Cheers ACM
... View more
04-23-2013
06:54 AM
|
0
|
5
|
1942
|
|
POST
|
Hi - I'm having issues with this too - I've tried map.removeLayer(map.layers[0]); (The layer I want to remove is index 0) This results in[ CODE] ncaught TypeError: Cannot read property '0' of undefined basecode.js:981 switchBaseMapbasecode.js:981 onClick _d66._onClickinit.js:34 _2cfinit.js:15 _b24._onClickinit.js:34 (anonymous function)init.js:15 _7bbinit.js:34 map.removeLayer('mainmap'); The gives no errors, but doesn't do anything, the layer is still showing if I Look at console.debug(map) Cheers ACM
... View more
04-22-2013
01:58 AM
|
0
|
0
|
2643
|
|
POST
|
Have you linked in the expandopane CSS? http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/dojo/dojox/layout/resources/ExpandoPane.css the Style isn't in the main CSS. ACM
... View more
04-19-2013
08:17 AM
|
0
|
0
|
3110
|
|
POST
|
Anyone know a way to add a "no color" option to the Dojo ColorPalette - it looks like the Dojo community cannot see a point http://bugs.dojotoolkit.org/ticket/5774 - us GIS people know how useful that would be. Cheers ACM
... View more
04-18-2013
02:44 AM
|
0
|
0
|
508
|
|
POST
|
sorted - thanks - I must have read the API notes several times without noticing it said feature. Cheers ACM
... View more
04-18-2013
02:35 AM
|
0
|
0
|
1723
|
|
POST
|
Cheers - I'm sure I tried that, but I'll have another go. Thanks ACM
... View more
04-18-2013
12:32 AM
|
0
|
0
|
1723
|
|
POST
|
Ah, do I understand correctly then, that the snapping only works on feature layers added to the map? I guess so Reference to a feature or graphics layer that will be a target snapping layer. The default option is to set all feature and graphics layers in the map to be target snapping layers. If so it would explain a lot as I have no feature layers, just dynamic ones. So, if I add a feature layer to the map - does it have to be visible? Cheers ACM
... View more
04-17-2013
09:29 AM
|
0
|
0
|
1723
|
| 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 |
Friday
|