kopia lustrzana https://github.com/hholzgra/ocitysmap
print data source annotations only once per source
rodzic
1f8b8e827d
commit
994d77042f
|
|
@ -518,9 +518,9 @@ class Renderer:
|
|||
elif overlay.name != '':
|
||||
annotations['styles'].append(overlay.dname)
|
||||
if overlay.datasource != '':
|
||||
annotations['sources'].append(overlay.datasource)
|
||||
if overlay.datasource not in annotations['sources']:
|
||||
annotations['sources'].append(overlay.datasource)
|
||||
|
||||
# TODO: remove duplicate data source
|
||||
|
||||
return annotations
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue