Infrastructure Map Server Developer

Valued Contributor
Posts: 86
Registered: ‎04-12-2012
Message 1 of 1 (240 Views)

Dynamic Layer "Selection" Issue

240 Views, 0 Replies
08-27-2013 02:35 PM

I use .NET to create a customized tool which accept a pair of coordinates (user input) and draw a point on the map, meanwhile zoom to that location and generate a report to describe the basic information of that location (for example, how far away this point to the closest town, direction degree, what's the elevation valution etc.).


I create this point from server side, make it visible, make it selectable:

                MgLayerBase pointsLayer =layerCollection.GetItem("PointName");  // or getLayerByName(map, "PointName");              


It is selected when I  select it, however you cannot make a buffer around this point. The reason is the selected "point" layer is not recognized by Buffer tool utill I use Redline tool to draw something on the map, now this point layer (and  layer group) is showed in the lengend; utill I selected the redline feature first, now this "point" layer is showed in the (Buffer tool ) selected layer list and can be selected to make a buffer. Because I use different names for "PointName" (as layer name) and "pointLabel" (as legend label) for this point, I noticed it is showed as "PointName" at first; then it changes to "pointLabel" in selection panel after I made a Redline and select the Redline, then select my "point"  again. However this point layer always shows "PointName" in the legend. Any quick fix for me to make my dynamic "point" can be selected and be buffered? Which is the better option to do some modification:my customized function or Buffer tool which is already exsit in fusion widget? Thank you.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community