Skip to content

Commit

Permalink
example(potree_25d_map): declare map projection code
Browse files Browse the repository at this point in the history
  • Loading branch information
jailln committed Mar 15, 2023
1 parent 9c701db commit 604b6ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/potree_25d_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
var view;
var controls;

// Define crs projection that we will use (taken from https://epsg.io/3946, Proj4js section)
itowns.proj4.defs('EPSG:3946', '+proj=lcc +lat_1=45.25 +lat_2=46.75 +lat_0=46 +lon_0=3 +x_0=1700000 +y_0=5200000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs');

viewerDiv = document.getElementById('viewerDiv');
viewerDiv.style.display = 'block';

Expand Down

0 comments on commit 604b6ac

Please sign in to comment.