protected MapPanel(Point mapPosition, int zoom) {
        
        try {
            // disable animation on windows7 for now
            useAnimations = !("Windows Vista".equals(System.getProperty("os.name")) && "6.1".equals(System.getProperty("os.version")));
        } catch (Exception e) {
            // be defensive here
            log.log(Level.INFO, "failed to check for win7", e);
        }
        
        setLayout(new MapLayout());
        setOpaque(true);
        setBackground(new Color(0xc0, 0xc0, 0xc0));
        add(controlPanel);
        addMouseListener(mouseListener);
        addMouseMotionListener(mouseListener);
        addMouseWheelListener(mouseListener);
        setZoom(zoom);
        updateMapPositionWithoutFire(mapPosition.x, mapPosition.y);

        checkTileServers();
        checkActiveTileServer();
        interactionEnabled = false; //will prevent listener to work correctly
    }