Skip to content

Conversation

@La-Rocca
Copy link

Adicionado link para o google maps, assim fica mais fácil identificar o local do abrigo.

@lucianomlima
Copy link
Member

Já tem um PR com essa funcionalidade: #103

@La-Rocca
Copy link
Author

Já tem um PR com essa funcionalidade: #103

Vi que tem na tela de detalhes do abrigo, adicionei o link da página inicial

Copy link
Member

@lucianomlima lucianomlima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhh, verdade!

Copy link

@antoniolucasnobar antoniolucasnobar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

[capacity, shelteredPeople]
);
const address = encodeURIComponent(data.address);
const googleMapsUrl = `https://www.google.com/maps/search/?api=1&query=${address}`;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@La-Rocca ja que temos a latitude e a longitude, não seria mais preciso utilizar eles ao invés da busca pelo endereço?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No #103 me responderam que a UX nao fica tao boa com a latitude e longitude, ja que nao exibe o nome do lugar, contato, etc...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No arquivo de teste do banco, os dados de latitude e longitude estavam vindo nulos, por isso resolvi não usa-los.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants