POST
|
to follow the source code that I used, the transparency on polygon does not work. Some ideas??? Dim pFLy As IFeatureLayer Dim pFeatureClass As IFeatureClass Dim pFSelection As IFeatureSelection Dim pGlobeLayerProperties As IGlobeLayerProperties = Nothing Dim pLayerEffects As ILayerEffects pFeatureClass = CreateFeatureClass(esriGeometryType.esriGeometryPolygon) pFLy = New FeatureLayer With pFLy .FeatureClass = pFeatureClass .Name = m_NameLayer .Cached = My.Settings.UseCachedLayer .Selectable = True .DisplayField = "ToolTip" .ShowTips = True .ScaleSymbols = Me.m_SymbolProperties.Symbol_SizeFixed End With pLayerEffects = pFLy pLayerEffects.Transparency = 60 m_objGlobeControl.Globe.AddLayerType(pFLy, esriGlobeLayerType.esriGlobeLayerTypeDraped, True) pGlobeLayerProperties = TryCast(Me.m_objGlobeControl.GlobeDisplay, IGlobeDisplayLayers).FindGlobeProperties(pFLy) pGlobeLayerProperties.BaseImageDrawingPriority = 1 ' ----> Adding feature to feaureclass TryCast(m_objGlobeControl.GlobeDisplay, IGlobeDisplayLayers2).RefreshLayer(pFLy)
... View more
07-18-2012
11:06 PM
|
0
|
0
|
6
|
POST
|
hi, on globecontrol I add a featurelayer (pLYR) using polygon geometry with the method AddLayerType and option esriGlobeLayerType.esriGlobeLayerTypeDraped. The layer is displayed correctly, but when I add another layer or when I make the selection of a feature of layer (pLYR) the layer disappears, is obscured by the surface layer (draped layer not elevation layer) What can I do to represent a polygon on globecontrol? other information as I create the polyline layer geometry works properly. thanks fabrizio
... View more
07-13-2012
01:41 AM
|
0
|
1
|
440
|
POST
|
hi, I'm working with globecontrol and I represent some layers (FeatureLayer) of different types (Polyline, polygon and point marker) on globecontrol. I need to represent the label for the layer with a 3D style. How do I make it? someone can help me? thanks fabrizio
... View more
07-12-2012
12:35 AM
|
0
|
1
|
263
|
POST
|
hi, I create a FeatureLayer (FeatureClass Polygon) on globecontrol, both with and without grouplayer, if I select a feature, using the tools of the ESRI 'globe select feature' control, all features disappear from the featurelayer globecontrol, everything works perfectly if you FeatureLayer featureclass Point represented by a marker. thanks fabrizio
... View more
07-10-2012
04:03 AM
|
0
|
0
|
250
|
POST
|
hi at all, I'am try to use transparency on FeatureLayer (polygon featureclass) on GlobeControl. The featurelayer must be within a grouplayer, but I've also tried out and does not work. This is my code: Dim pLayerEffects As ILayerEffects pLayerEffects = pFLy pLayerEffects.Transparency = 50 if I apply the transparency to grouplayer it work fine thanks fabrizio
... View more
07-10-2012
03:48 AM
|
0
|
5
|
409
|
POST
|
I apologize, I have found another problem (I implemented the suggested changes clearly): 1) I create GroupLayer-1 2) Into a GroupLayer-1 add FeatureLayer-1 (featureclass Polygon) 3) All OK 4) Into a GroupLayer-1 add FeatureLayer-2 (featureclass Point) represented by a marker 5) All Feature-1 disappear from the FeatureLayer GlobeControl (but not deleted) A) The same thing happens if FeatureLayer-2 is created on another GroupLayer B) It all works perfectly if FeatureLayer-1 and FeatureLayer-2 are featureclass Point represented by a marker C) It all works perfectly if I don't use GroupLayer thanks fabrizio
... View more
07-10-2012
03:40 AM
|
0
|
0
|
4
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|