Google Maps v2 Marker zOrdering – Set to top

Aiden Fry’s answer works if you do actually display an InfoWindow. If you don’t, the marker won’t come to the front. Here is a hack to make it come to the front anyway: Create a custom InfoWindowAdapter that displays a 0dp info window: public class MapWindowAdapter implements GoogleMap.InfoWindowAdapter { private Context context = null; public … Read more

Z-Order in JavaFX

Z-order in JavaFX is actually the order in the scenegraph, eg. in the content sequence of the scene (then in the contents of the groups, containers, etc.). All nodes have also toFront() and toBack() functions to help changing this order. For finer control, you have to remove nodes from one place and insert it higher … Read more

How to get the z-order in windows?

You can use the GetTopWindow function to search all child windows of a parent window and return a handle to the child window that is highest in z-order. The GetNextWindow function retrieves a handle to the next or previous window in z-order. GetTopWindow: http://msdn.microsoft.com/en-us/library/ms633514(VS.85).aspx GetNextWindow: http://msdn.microsoft.com/en-us/library/ms633509(VS.85).aspx