Support for Wikitude Software Development Kit and tools is coming to an end. All the details can be found here. Kindly note that no new topics can be started on the forum from 21.09.2023. Also, some of the FAQs here (especially license related ones) might become inaccurate.
World.placeGeoObjects = ClusterHelper.createClusteredPlaces(55, World.userLocation, World.markerListUnclustered);for (var i=0; i<World.placeGeoObjects.length; i++) {// document.getElementById("test").innerHTML += "z"+World.placeGeoObjects[i].places.length; for (var j=0; j<World.placeGeoObjects[i].places.length; j++) { singlePoi = World.placeGeoObjects[i].places[j]; singlePoi.altitude = j * 250; singlePoi.location.altitude = j * 250; World.markerList.push(new Marker(singlePoi)); }} this.markerObject = new AR.GeoObject(poiData.location, { drawables: { cam: [this.markerDrawable_idle, this.markerDrawable_selected, this.titleLabel, this.categoryLabel], indicator: this.directionIndicatorDrawable }});
this.markerObject = new AR.GeoObject(poiData.location, { drawables: { cam: [this.markerDrawable_idle, this.markerDrawable_selected, this.titleLabel, this.categoryLabel], indicator: this.directionIndicatorDrawable }});
Hello jacob,
I believe the issue is the phone device you are using. There are some devices that do not supply the user with the altitude variable and this is why you cannot set your POIs to different altitudes.
Thanks
Eva
Jacob Kee