Skip to content

Instantly share code, notes, and snippets.

@perliedman
perliedman / gist:3665685
Created September 7, 2012 12:12
Markers with Leaflet.iconlabel plugin (https://github.com/jacobtoye/Leaflet.iconlabel), which at least for me appear with an increasing offset. I believe this is a bug.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Gypsum</title>
<link rel="stylesheet" type="text/css" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css"/>
<link rel="stylesheet" type="text/css" href='https://raw.github.com/jacobtoye/Leaflet.iconlabel/master/dist/leaflet.iconlabel.css'/>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<script src='http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js'></script>
@perliedman
perliedman / README.markdown
Created March 26, 2012 12:17 — forked from jrust/README.markdown
Bootstrap's Typeahead plugin extended (AJAX functionality, comma-separated values, autowidth, and autoselect)

This is a fork of a fork of Bootstrap Typeahead that adds minimal but powerful extensions.

  • Support for delaying the lookup (good for preventing too many AJAX requests)
  • Some fixes regarding the data fed to the onselect callback

For the proper source, and other examples, please see the original gist and the extended version

Example showing off all the above features