POST
|
I have a java application that includes an ArcObjects mapcontrol, when the mouse is over the control it uses the mouse cursor that is correct for the currently selected tool. However if you make any changes to the rest of the window, for instance changing the value of the text in a label, then this cursor changes to be the java cursor for the map control, and remains as this Java cursor till the mouse is moved. My question is how do I prevent it from changing the cursor?
... View more
04-05-2011
04:13 AM
|
0
|
0
|
613
|
POST
|
Its actually worse than that, I found that in a dynamic display transparency only works between layers which are in the same group. So both the layers with transparency, and the layers beneath those with transparency all have to be in the same group.
... View more
04-04-2011
06:01 AM
|
0
|
0
|
204
|
POST
|
Further investigation has revealed this to be something to do with Group Layers. All of my images with transparency were contained in a Group Layer, and the background image was in a seperate group layer. When I remove put all the images in one single group layer transparency works as expected.
... View more
03-31-2011
06:02 AM
|
0
|
0
|
204
|
POST
|
I am using the Java api. In my application I use a mapBean with the dynamic map enabled to display my raster images. These images contain a alpha channel as much of the image is transparent. When viewed in normal mode (i.e. not dynamic mode) these images display as expected, with the images below the transparency being visible through the transparent areas. However when I switch to dynamic map all of the areas which should be transparent are instead filled in with white. dynamic mode non-Dynamic mode This could be due to how I set up the DynamicCacheManager for the layers. This is done on loading the map document using the following code: for (int i = 0; i < map.getLayerCount(); i++) { ILayer layer = map.getLayer(i); IDynamicCacheLayerManager cacheLayerManager = new DynamicCacheLayerManager(); cacheLayerManager.init(map, layer); cacheLayerManager.setProgressiveDrawingLevels(2); cacheLayerManager.setProgressiveFetchingLevels(2); } Any help/suggestions on how to keep the transparency while in dynamic mode would be much appreciated.
... View more
03-30-2011
04:41 AM
|
0
|
3
|
570
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|