POST
|
I am using the agsjs TOC control for my ArcGIS server javascript API project. it works great except that if the dynamiclayer contains feature linked annoation layers, the control is broke. fired up debug shows TOC.js line 633 "esri.request error callback. Is this error legit?" Once the annotation layers were removed, the TOC works great. Anyone had the same problem? I don't want to redo all the map services because of this. we have quite a few map service using feature linked annotation layers extensively. Any help would be appreciated. this is the link to the TOC, https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109 update: tried ESRI legend for javascript API, it ignored all feature linked annotation layers by default. Does that mean FL annotation layers not supported at all? however, the custom TOC built in silverlight works though. Anyone out there can help? Thanks very much
... View more
04-07-2016
01:06 PM
|
0
|
1
|
2307
|
POST
|
i have a silverlight API app. have setup the Editor for selection.in xaml, i have the following setup <esri:Editor x:Name="lotsEditor" ContinuousMode="True" LayerIDs="lots" EditCompleted="lotsEditor_completed" SelectionMode="Rectangle" Map="{Binding ElementName=Map}"> <esri:FeatureLayer ID="lots" Mode="SelectionOnly" OutFields="*" SelectionColor="Red" Url="http://chgis/internal/rest/services/Live/property/MapServer/14" Initialized="lots_initialized"></esri:FeatureLayer> in code behind, i have the following private void lots_initialized(object sender, EventArgs e) { editor = LayoutRoot.Resources["lotsEditor"] as Editor; if (editor.Select.CanExecute("Add")) { editor.Select.Execute("Add"); } } private void lotsEditor_completed(object sender, Editor.EditEventArgs e) { if (e.Action == Editor.EditAction.Select) { foreach (var item in e.Edits) { } } } when I hold the CTRL button, only one feature is selected and the selected feature is not hightlighted in RED like setup in xaml. Couldn't figure out what is the problem. any keen eye can help me out? I have looked at my script many times and couldn't figure out what the problem is. Thanks very much.
... View more
03-02-2015
10:33 AM
|
0
|
0
|
2722
|
POST
|
I have installed the extension and checked the license is good ( using concurrent). when I opened arcmap, the toolbar shows but the menus are all grayed out. what should I do to activate them? please see attached
... View more
06-21-2013
02:33 PM
|
0
|
0
|
1452
|
POST
|
I have this windows application built with ArcGIS engine 10. in the form I have couple of buttons, a map control and a axToolbarControl. once a item on the axToolbarControl is clicked for example ZoomIn button, the mouse pointer change to the ZoomIn icon which is good. I have this button when user click on it, they can start adding a point on the map. I want to change the mouse pointer to arrow after user clicks the button. here is what i did 1. when the button is clicked, set the map toolmode to be 1 2. in mouseMove event, if toolmode == 1, set the mousepointer to be arrow: axMapControl1.MousePointer = esriControlsMousePointer.esriPointerArrow; 3. in map mousedown event, if toolmode = 1, do things.... the mouse pointer remained ZoomIn. i can't seem to change it to another one. Any help? Thanks very much
... View more
03-16-2012
01:12 PM
|
0
|
1
|
2523
|
POST
|
I have figured out with code behind. First, get the text value, then add the value to the graphic's attribute when creating the custom map. clonedGraphic.Attributes.Add(o.key, _mytext) Thanks for ur help
... View more
11-03-2011
11:05 AM
|
0
|
0
|
742
|
POST
|
I am not sure how to do this two way binding. how can I set the dynamic text value to the markersymbol and save it in the graphic if not doing it in code behind? Thanks
... View more
11-03-2011
10:52 AM
|
0
|
0
|
742
|
POST
|
Trying to add the value from the textbox in code behind when adding the graphics to the custom map. no success. How can I set the two way binding for the textbox inside the markersymbol control template? Thanks very much
... View more
11-02-2011
09:46 AM
|
0
|
0
|
742
|
POST
|
here is a screenshot of the second problem. the upper part is the text I entered on the map. the lower part is the custom map. you can see the text box has the default text rather than the one i entered. Thanks
... View more
11-01-2011
01:20 PM
|
0
|
0
|
742
|
POST
|
I have put the marker with the textbox on to the map. DrawMode was set to be point. problems 1. need to click on the textbox many times to be able to enter text in the box. 2. the text and textbox is added to the graphicLayer but not preserved when creating the custom map. same code was using for adding polygons which works fine. Thanks very much
... View more
11-01-2011
12:44 PM
|
0
|
0
|
742
|
POST
|
I am looking for a tool that can allow user to add custom text to the map and then create custom map in silverlight. I have graphic tools for adding polygon, rectangle, freehand graphics but didn't see one for adding text. Maybe i missed. Any one can point me out where i can find the tool? THanks very much
... View more
10-28-2011
02:15 PM
|
0
|
10
|
3692
|
POST
|
Thanks very much I have the following code if( fs.Count() != 0){ RelationshipParameter rp = new RelationshipParameter() { RelationshipId = 1, OutFields = new string[] { "*" }, OutSpatialReference = Map.SpatialReference, ObjectIds=fs.ObjectIDs.Cast<int>() //this line returns empty result which I think results in executeRelationship failure }; However the fs.count returns 1. Not sure why fs.ObjectIDs.Cast<int>() returns empty.
... View more
05-25-2011
08:33 AM
|
0
|
0
|
324
|
POST
|
were u able to solve this? I think i am having the same problem. Trying to find an alternative. Thanks
... View more
05-24-2011
03:56 PM
|
0
|
0
|
324
|
POST
|
After user selecting features from the map, if they want to use the identify tool, the QueryPoint_MousClick event is not fired. I used Editor control for the selection with ContinuousMode set to be True. How do I disable the selection when user click on Identify tool? Thanks very much
... View more
05-20-2011
03:21 PM
|
0
|
1
|
734
|
POST
|
Does that mean another graphics Layer have to be created for polygon rendering? The previous api example was able to accommadate both polyline and polygon on same graphic layer. thanks
... View more
03-24-2011
08:39 AM
|
0
|
0
|
285
|
POST
|
I am using arcGIS silverlight api 2.1 SDK. Created a button for drawing polygon using ESRI:RedlineAction <esri:RedlineAction Color="Red" DrawMode="Polygon" GraphicsLayerID="MyGraphicsLayer" TargetName="Map" /> when drawing is finished, the polygon disappears. I want it to stay so that it can be used when creating printouts. Drawing with polyline and freehand functions are fine though. Anyone has the same problem? Thanks very much
... View more
03-23-2011
12:44 PM
|
0
|
3
|
2586
|
Online Status |
Offline
|
Date Last Visited |
12-04-2020
10:19 AM
|