Languages

Mòdul gmap de drupal

Pel projecte zangoa hem hagut de fer algunes modificacions al mòdul gmap del drupal per mostrar la llista d'elements juntament amb el mapa utilitzant el mòdul views.

Els canvis consisteixen en:
crear les variables javascript necessàries amb les markers i els textos corresponents, en funció del nid:

a la funció theme_views_view_gmap hem hagut d'arreglar un bug que no deixava mostrar els nodes que utilitzen el gmap_location.module i hem afegit la crida a la nova funció mostra la llista.

i per acabar, hem creat la nova funció gmap_draw_map_list Adjuntem el patch amb les modificacions realitzades.
modul gmap drupal

Reply

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.