Skip to content

Commit

Permalink
specify osm tile url
Browse files Browse the repository at this point in the history
eventually to replace with paid service
  • Loading branch information
kfarr committed Aug 14, 2024
1 parent 140aff6 commit 6e97991
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/street-geo.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ AFRAME.registerComponent('street-geo', {
lon: data.longitude,
lat: data.latitude,
radius_m: 2000,
trackId: 'camera'
trackId: 'camera',
url: 'https://tile.openstreetmap.org/'
});
osm3dElement.setAttribute('rotation', '-90 -90 0');
osm3dElement.setAttribute('data-no-pause', '');
Expand Down

0 comments on commit 6e97991

Please sign in to comment.