nathansnider's public fiddles
-
kv5pystj
playing around with panes
-
sfjmu08o
jQuery 1.7.2, HTML, CSS, JavaScript
-
Creating Tissot indicatrix-like ellipsoids using turf.js in Leaflet
No-Library (pure JS), HTML, CSS, JavaScript
-
Measuring extents of turf.buffer in Leaflet
When 'kilometers' is specified as the distance option, turf.buffer appears to first calculate a distance in degrees and then create a buffer in degrees rather than km. Thus, the real E-W dimension of a buffer will get narrower as latitude increases.
-
Checking for intersections between geometries in Leaflet
When layers are drawn over the existing geometry with Leaflet.draw, markers are created at the points of intersection.
-
q6s0139h
No-Library (pure JS), HTML, CSS, JavaScript
-
Hex binning with Leaflet and turf.js
No-Library (pure JS), HTML, CSS, JavaScript
-
Styling Leaflet circleMarkers by numerical property with a color ramp (including undefined values)
Synthetic GeoJSON data are created with a quasi-normal spatial distribution and displayed as circle markers on a Leaflet map. The markers are styled using a color ramp that is tied to a numerical property ("year" in this case).
-
Using turf.js to split up a GeoJSON object based on a categorical property and create convex hulls for each result
No-Library (pure JS), HTML, CSS, JavaScript
-
uL1q8pfL
jQuery 2.1.3, HTML, CSS, JavaScript
-
A connect-the-dots function for Leaflet point layers
jQuery 1.9.1, HTML, CSS, JavaScript
-
Keeping Leaflet Draw layers on top using .bringToFront
No-Library (pure JS), HTML, CSS, JavaScript
-
37sm4y60
No-Library (pure JS), HTML, CSS, JavaScript
-
6ffa3uxu
No-Library (pure JS), HTML, CSS, JavaScript
-
faqfmvm0
No-Library (pure JS), HTML, CSS, JavaScript
-
Choosing features using an HTML select element outside the map
jQuery 2.1.3, HTML, CSS, JavaScript
-
A Leaflet control to choose features using an HTML select element
jQuery 2.1.3, HTML, CSS, JavaScript
-
parsing JSON (from an AJAX request) into a table
jQuery 1.10.1, HTML, CSS, JavaScript
-
parsing JSON into a table
jQuery 1.4.2, HTML, CSS, JavaScript
-
pu39s9wn
jQuery 1.9.1, HTML, CSS, JavaScript