Update URLs for new Fusion Table encrypted ID format
This commit is contained in:
parent
5eca6127fc
commit
092acf082a
@ -150,7 +150,7 @@ public class FusionTableHandler {
|
|||||||
List<String> row = rows.get(i);
|
List<String> row = rows.get(i);
|
||||||
if (row.size() >= 2) {
|
if (row.size() >= 2) {
|
||||||
String id = row.get(0);
|
String id = row.get(0);
|
||||||
row.add("https://www.google.com/fusiontables/DataSource?dsrcid=" + id);
|
row.add("https://www.google.com/fusiontables/DataSource?docid=" + id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -142,8 +142,7 @@ final class FusionTableSerializer implements TabularSerializer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getUrl() {
|
public String getUrl() {
|
||||||
// FIXME: This base URL is no longer correct
|
|
||||||
return tableId == null || exceptions.size() > 0 ? null :
|
return tableId == null || exceptions.size() > 0 ? null :
|
||||||
"https://www.google.com/fusiontables/DataSource?dsrcid=" + tableId;
|
"https://www.google.com/fusiontables/DataSource?docid=" + tableId;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user