Here is some part of the FXML and controller code. Here is a Stackpane and ID. is MapPane and this stackpane contains my mapView but when i run this code i have faced problem which i can not move or pan / zoom in or out my map by using mouse. but if i use other stackPane means the parent of Stackpane (Id: MapPane) as a container of my mapView, StackPane hide my move button. so it makes me confused and it would be great to give me an idea how to solve this problem. TIA
It's likely that your second StackPane is intercepting click, pan, and zoom events before they get to the StackPane with your MapView. Keep the MapView in the bottom StackPane (id: MapPane) and try setting pickOnBounds to false on the second StackPane (id: PanButtonContainerPane).
Hope this helps,