Skip to content

Commit

Permalink
docs: improved README
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Aug 13, 2024
1 parent fbcdefd commit 68ea3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This feature is based on inital work done by [protomaps-leaflet](https://github.

### Leaflet path style

The module exposes a `leaflet_style` function generating paint rules from [Leafet path style options](https://leafletjs.com/reference.html#path) as typically used to visualize GeoJson features in Leaflet. This is typically useful to render similarly PMTiles created from GeoJson datasets. As a PMTiles might contains multiple layers, you need to specify the target layer as the second argument of the style function.
The module exposes a `leaflet_style` function generating paint rules from [Leafet path style options](https://leafletjs.com/reference.html#path) as used to visualize GeoJson features in Leaflet. This is typically useful to render similarly PMTiles created from GeoJson datasets. As a PMTiles file might contain multiple layers, you need to specify the target layer as the second argument of the style function.

> [!NOTE]
> Have a look to the related demo for more details.
Expand Down

0 comments on commit 68ea3fe

Please sign in to comment.