-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documenting and simplifying leaflet example
- Loading branch information
1 parent
66b6057
commit 80b44f8
Showing
3 changed files
with
14 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
WLeafletMap example | ||
------------------- | ||
|
||
This example demonstrates the `WLeafletMap` widget, a simple wrapper around the [Leaflet JavaScript](https://leafletjs.com) library. | ||
|
||
How to run | ||
---------- | ||
|
||
See the README in the parent directory. | ||
See the README in the parent directory, but add the `--approot=approot` argument. | ||
|
||
What it illustrates | ||
------------------- | ||
|
||
- Configuring the properties that allow `WLeafletMap` to find them in `approot/wt_config.xml`. | ||
- Adding a tile layer (one that uses OpenStreetMap) | ||
- Adding and removing a marker | ||
- Adding a polyline | ||
- Adding a circle | ||
- Panning to different positions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters