Skip to content

Commit aefdd5e

Browse files
authored
Update README.md (#85)
1 parent 9db8044 commit aefdd5e

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@ 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.
17+
Additional details will be displayed if `&info` is appended to the URL.
1918

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.
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.
2120

21+
Use the left mouse button to rotate the camera. To move, use the right one.
2222

2323
Supports:
2424
* Ways with a building tag
2525
* Ways with building parts inside.
2626
* Building relations with way and/or multipolygon parts
27-
* Mulipolygon buildings
27+
* Multipolygon buildings
2828
* Multipolygon building with multiple open ways which combine to a closed way.
2929

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

0 commit comments

Comments
 (0)