Basically, it adds a new option circleMarker to [leaflet-geojson]. If set, the pointToLayer-function is called, which vastly increases the performance with a lot of points as all those points get rendered on a single canvas. In the prior way, each regular marker represents a single DOM element.
Adding this function doesn't affect any old maps at all.
Readme and examples page were extended to inform about this option.
This could be a solution for issue #79.
Basically, it adds a new option
circleMarker
to[leaflet-geojson]
. If set, thepointToLayer
-function is called, which vastly increases the performance with a lot of points as all those points get rendered on a single canvas. In the prior way, each regular marker represents a single DOM element.Adding this function doesn't affect any old maps at all. Readme and examples page were extended to inform about this option.