Browse Source

Remove icone property from map data json file

We simply use one icon for all cities
producao
Marcio Mazza 10 years ago
parent
commit
43f04d4dc5
  1. 1
      sigi/apps/metas/views.py

1
sigi/apps/metas/views.py

@ -323,7 +323,6 @@ def gera_map_data_file(cronjob=False):
def parliament_summary(parliament): def parliament_summary(parliament):
summary = { summary = {
'nome': parliament.nome + ', ' + parliament.municipio.uf.sigla, 'nome': parliament.nome + ', ' + parliament.municipio.uf.sigla,
'icone': '/static/img/mapmarker.png',
'thumb': thumbnail_url(parliament.foto, 'small'), 'thumb': thumbnail_url(parliament.foto, 'small'),
'foto': (parliament.foto.url if parliament.foto else ''), 'foto': (parliament.foto.url if parliament.foto else ''),
'lat': str(parliament.municipio.latitude), 'lat': str(parliament.municipio.latitude),

Loading…
Cancel
Save