Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agregar Plugin Leaflet.awesome-markers #210

Open
cabupy opened this issue Apr 15, 2020 · 1 comment
Open

Agregar Plugin Leaflet.awesome-markers #210

cabupy opened this issue Apr 15, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@cabupy
Copy link
Collaborator

cabupy commented Apr 15, 2020

Leaflet.awesome-markers

  • Esto nos va a permitir tener markers personalizados con colores e iconos font-awesome, de manera a poder identificarlos en el mapa por categorías: alimentos, medicamentos, etc.

Link: https://github.com/lvoogdt/Leaflet.awesome-markers

Ejemplo:

 // Creates a red marker with the coffee icon
  var redMarker = L.AwesomeMarkers.icon({
    icon: 'coffee',
    markerColor: 'red'
  });
      
  L.marker([-57.609513, -25.299498], {icon: redMarker}).addTo(map);

Imagen

marker-icon

CC: @melizeche @leocarreras

@melizeche
Copy link
Owner

@cabupy tira un PR, podes ya empezar con los centros de donacion con otros iconos
https://ayudapy.org/api/v1/donationcentersgeo/
https://ayudapy.org/donaciones/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants