public boolean inMap ( String name , Location location ) { MapArea map = maps . get ( name ) ; if ( map == null ) { throw new IllegalArgumentException ( name ) ; } return map . isInside ( location ) ; }
Returns true if location is inside named map .