Skip to content

Instantly share code, notes, and snippets.

@ghuntley
Created March 1, 2013 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghuntley/f3606ce52ffdeb808a76 to your computer and use it in GitHub Desktop.
Save ghuntley/f3606ce52ffdeb808a76 to your computer and use it in GitHub Desktop.
data = $.parseJSON(response.result);
this.gsonItems = L.geoJson(data, {
onEachFeature: function(feature, layer) {
layer.on('mouseover', function(e) {
var layer;
layer = e.target
this.thisIsWhereImStuck( layer )
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment