public static PathMaker selectPathMaker(MapSource mapSource) {
switch (mapSource) {
case GOOGLE:
return new GoogleMapPathMaker();
case VIRTUAL_EARTH_LINES:
return new VirtualMapPathMaker();
case VIRTUAL_EARTH_PHOTO:
return new VirtualMapPathMaker();
case VIRTUAL_EARTH_ALL:
return new VirtualMapPathMaker();
}
throw new IllegalArgumentException();
}