public ParserResult read(URL url, List<NavigationFormat> formats) throws IOException {
if (isGoogleMapsProfileUrl(url)) {
url = new URL(url.toExternalForm() + "&output=kml");
formats = new ArrayList<NavigationFormat>(formats);
formats.add(0, new Kml22Format());
} else if (isGoogleMapsLinkUrl(url)) {
byte[] bytes = url.toExternalForm().getBytes();
List<NavigationFormat> readFormats = new ArrayList<NavigationFormat>(formats);
readFormats.add(0, new GoogleMapsUrlFormat());