diff --git a/README.md b/README.md index 462fbd9..ad5edcf 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,7 @@ l-map { ## Quick start -A minimal Leaflet-HTML app, is ``, which adds an empty map to a page. -But a gray block is of little use, to show a map, add a `` tag with a `url-template` and `attribution`. +To show a map with a base map background, add a `` tag with a `url-template` and `attribution` inside a ``. ```html @@ -64,8 +63,18 @@ But a gray block is of little use, to show a map, add a `` tag wit ``` -Adding layers, layer groups, and controls requires very little additional effort. -The same translation patterns can be followed to map from JS to HTML. +Adding layers, layer groups, and controls follows the Leaflet JS one-to-one. +E.g. to add a marker to the above example. + +```html + + + + +``` ## Custom elements