- add ZoomControl.js
- add zoom control as default control to map object
This commit is contained in:
parent
5c40b845bb
commit
8b57f1dcb8
10 changed files with 196 additions and 118 deletions
|
@ -120,7 +120,7 @@ class Application {
|
|||
// this.map.maxDistance = size*15;
|
||||
|
||||
//add map controls:
|
||||
if (!util.hasTouch) {
|
||||
if (util.hasTouch() == false) {
|
||||
let coordinates = new Coordinates({ camera: this.camera, crs: "EPSG:3034" }).addTo(this.map);
|
||||
// coordinates.addListener('onPoint', (vector) => {
|
||||
// this.queryMarker.position.set(vector.x, vector.y, vector.z);
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue