kopia lustrzana https://github.com/JOSM/MapWithAI
MapWithAISourceReader: set provider
Signed-off-by: Taylor Smock <tsmock@fb.com>pull/1/head
rodzic
f9308da42f
commit
16feefa1c4
|
@ -135,6 +135,7 @@ public class MapWithAISourceReader implements Closeable {
|
||||||
info.setConflationUrl(conflationUrl);
|
info.setConflationUrl(conflationUrl);
|
||||||
info.setSource(values.getString("source", null));
|
info.setSource(values.getString("source", null));
|
||||||
info.setAlreadyConflatedKey(alreadyConflatedKey);
|
info.setAlreadyConflatedKey(alreadyConflatedKey);
|
||||||
|
info.setAttributionText(values.getString("provider", null));
|
||||||
if (categories.length > 0) {
|
if (categories.length > 0) {
|
||||||
info.setCategory(MapWithAICategory.fromString(categories[0]));
|
info.setCategory(MapWithAICategory.fromString(categories[0]));
|
||||||
if (categories.length > 1) {
|
if (categories.length > 1) {
|
||||||
|
|
Ładowanie…
Reference in New Issue