To summarize: someone asked me to post this here - so that he can give it a try!
- put a PIN based on latitude/longitude of the CiviCRM Contact
- put CiviCRM Contact data in the bubble pop-up
- color the PIN based on value of a CiviCRM Custom field
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It only takes a minute to sign up.
Sign up to join this communityLeaftlet is an open-source JavaScript Library for interactive mobile friendly maps. It only takes a few minutes to put your CiviCRM Contacts on a Leaflet Map if you're using Drupal.
Here are some of my slides from my CiviCON 2016 lightning talk:
EDIT: Some additional notes based on comments below and some questions emailed to me:
EDIT: for this example I used: drush pm-list --type=Module --no core --status=enabled (and relevant...)
CiviCRM CiviCRM (civicrm) 4.6.18
Other IP Geolocation Views & Maps (ip_geoloc) 7.x-1.28
Other Leaflet (leaflet) 7.x-1.3
Other Leaflet Markercluster (leaflet_markercluster) 7.x-1.2
Other Libraries (libraries) 7.x-2.2
Views Views (views) 7.x-3.14
Don't forget Leaflet module requires you to install leaflet library in /libraries (either your sites/all/libraries or your specific site's /libraries).
UPDATE: now requires this patch for ip_geolocate module -> https://www.drupal.org/files/issues/ip_geoloc_plugin_style.inc_.patch
Just to note that this stopped working around CIVICRM 4.7.19.
You need to apply the patch to Drupal IP_geoloc module here: