The Maryland State Constitution gives the governor the power with the approval of the assembly. It also sets rules on how the districts may be formed. The governor blatantly violated those rules. Technically the judge should void the plan, reprimand the governor and the governor should be required to submit a new one. In this day of illegal judicial activism, the governor and legislature will allow the judge to draw the districts.-----So, the short answer is no.
Article III, Section 4 of the Maryland Constitution requires legislative districts to be substantially equal in population, compact in form, and contiguous. It also requires a legislative redistricting plan to give due regard to the boundaries of political subdivisions. Generally, this means that county, city, and other municipal boundaries should be left intact whenever possible. Article III also requires public hearings to be held before the State legislative plan is enacted. link