if (getGraphic().getRenderType() == OMGraphic.RENDERTYPE_LATLON) {
if (getGraphic().getRenderType() == OMGraphic.RENDERTYPE_LATLON && getGraphic().distanceToEdge(e.getX(), e.getY()) < 2) {
    public void move(java.awt.event.MouseEvent e) {	if (getGraphic().getRenderType() == OMGraphic.RENDERTYPE_LATLON) {	    if (gpr == null) {		gpr = new GrabPoint(-1, -1);	    }	    gpr.set(e.getX(), e.getY());	    movingPoint = gpr;	}    }