Skip to content

Commit ac751d9

Browse files
committed
Update README.md
1 parent 6e46da8 commit ac751d9

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,23 @@ OSM Building Viewer
66

77
### Visualize an OSM Building in 3D
88

9-
Visualize an OSM Building from the live OSM data.
109
To visualize a building tagged with a way, use the URL:
11-
https://beakerboy.github.io/OSMBuilding/index.html?id=[id]
10+
https://beakerboy.github.io/OSMBuilding?id=[id]
1211

1312
If the building is a multipolygon, or a relation, use:
14-
https://beakerboy.github.io/OSMBuilding/index.html?type=relation&id=[id]
13+
https://beakerboy.github.io/OSMBuilding?type=relation&id=[id]
1514

1615
...replacing [id] with the actual id of the way or relation.
1716

18-
Additional details will be displayed if "&info" is appended to the URL.
19-
20-
Console debug messages can be printed to the screen if "&errorBox" is appended to the url. Helpful since mobile browsers often lack any inspection capability.
17+
Additional details will be displayed if `&info` is appended to the URL.
2118

19+
Console debug messages can be printed to the screen if `&errorBox` is appended to the url. Helpful since mobile browsers often lack any inspection capability.
2220

2321
Supports:
2422
* Ways with a building tag
2523
* Ways with building parts inside.
2624
* Building relations with way and/or multipolygon parts
27-
* Mulipolygon buildings
25+
* Multipolygon buildings
2826
* Multipolygon building with multiple open ways which combine to a closed way.
2927

3028
Roof Types:
@@ -43,3 +41,7 @@ Examples:
4341
* Building Relation [Burj Khalifa](https://beakerboy.github.io/OSMBuilding/index.html?type=relation&id=7584462)
4442
* Multipolygon with no parts - [Freer Art Gallery](https://beakerboy.github.io/OSMBuilding/index.html?type=relation&id=1029355)
4543
* Relation with multipolygon parts - [Leaning Tower of Pisa](https://beakerboy.github.io/OSMBuilding/index.html?type=relation&id=12982338)
44+
45+
Specify the `osmApiUrl` parameter to use other OSM APIs. Examples:
46+
* [OpenHistoricalMap](https://beakerboy.github.io/OSMBuilding/?id=2826540&osmApiUrl=https://api.openhistoricalmap.org/api/0.6&type=relation)
47+
* [OpenGeofiction](https://beakerboy.github.io/OSMBuilding/?id=461819&osmApiUrl=https://opengeofiction.net/api/0.6&type=relation)

0 commit comments

Comments
 (0)