Comments (3)
@pchen66 @emibap @flyandi @naranjamecanica please help to look into the issue.
from panolens.js.
https://codepen.io/pchen66/pen/dRYNNG
This example itself not working in IOS 16.4.1 , showing black box for infospot.
from panolens.js.
custom hotspot added to PANOLENS.DataImage object dynamically
and now the hotspot image size change to 64x64 and convert to data uri format
import hotspot from "../images/hotspots/hotspot.png"; /* 64x64 size */
const obj = PANOLENS.DataImage;
//customHotspot
obj['Hotspot'] = hotspot;
//use infospot as below
var infospot1 = new PANOLENS.Infospot( baseScale, PANOLENS.DataImage.Hotspot );
now all working good for me in mobile and desktop.
Mian issue is keep the infspost custom image size as 64x64
from panolens.js.
Related Issues (20)
- Overwrite default ControlBar style
- Video playback without sound HOT 1
- How to move around 3d added in panorama in VR mode
- Blurred image
- viewer.setPanorama shows black in case of cube panorama
- Stitch line visible after texture update
- Panolens offline HOT 2
- Side scrolling and zooming
- How can a script find out which scene is currently loaded? HOT 1
- add logo in README.md for panolens.js
- '@types/panolens@*' is not in this registry. HOT 1
- What is the space model for positioning infospots [ e.g. in .setposition(x,y,z)] HOT 1
- Infospot sink in Panorama. HOW can i fix this?
- Lag on mobile phone
- How can I change viewer when update state in ReactJS? HOT 1
- PANOLENS is not defined ... HOT 2
- Panolens in react website , sensor control does not work in mobile phone
- Raycastingpoint NaN on Mobile Device after OnTap
- Coordinate systems do not match between two copies of a panorama HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panolens.js.