Skip to content

Use OSM#2

Open
diegocrzt wants to merge 2 commits intoaVolpe:masterfrom
diegocrzt:use_osm
Open

Use OSM#2
diegocrzt wants to merge 2 commits intoaVolpe:masterfrom
diegocrzt:use_osm

Conversation

@diegocrzt
Copy link

  • Replace Google Maps links for OSM.

Signed-off-by: Diego Ramírez diegocrzt@gmail.com

- Replace Google Maps links for OSM.

Signed-off-by: Diego Ramírez <diegocrzt@gmail.com>
v-on:change="changeCurrency"
class="bx-5"
label="Moneda"
single-line></v-select>
Copy link
Owner

Choose a reason for hiding this comment

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

Esto no es buena idea!, normalmente los framework js requeiren tener un tag vacio en vez de cerrarlo con '>.

if (row.branchLatitude) {
row['gmapsLink'] = `https://www.google.com/maps/search/?api=1&query=${row.branchLatitude},${row.branchLongitude}`;
else
row['osmLink'] = `https://www.openstreetmap.org/?mlat=${row.branchLatitude}&mlon=${row.branchLongitude}&zoom=17`;
Copy link
Owner

Choose a reason for hiding this comment

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

No hay alguna forma de conseguir un link que funcione para ambos? digo para teléfonos móviles donde clickando nos lleva a gmps, si agregamos ambos links?

Copy link
Author

Choose a reason for hiding this comment

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

Creo que algo más genérico seria usar el esquema geo, pero creo que escapa al propósito de este cambio, que era reemplazar Google por OSM. Otro problema que habria con el esquema geo, es que por alguna razón parece no soportarse bien en los navegadores de escritorio

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.

2 participants