diff --git a/debug/geojson/geojson.html b/debug/geojson/geojson.html
index 72df0650..43624e35 100644
--- a/debug/geojson/geojson.html
+++ b/debug/geojson/geojson.html
@@ -30,7 +30,16 @@
var geojson = new L.GeoJSON();
+ /*
+ points are rendered as markers by default, but you can change this:
+
+ var geojson = new L.GeoJSON(null, {
+ pointToLayer: function(latlng) { return new L.CircleMarker(latlng, 5) }
+ });
+ */
+
geojson.on('featureparse', function(e) {
+ // you can style features depending on their properties, etc.
if (e.layer instanceof L.Path) {
e.layer.setStyle({color: e.properties.color});
}