Wikitude
play_for_work
Forum
FAQ
Documentation
Download
wikitude.com
How can we help you today?
Enter your search term here...
Search
Start a new topic
Discussions
Wikitude SDK (Android, iOS, UWP)
Wikitude SDK Questions or Problems
HtmlDrawable not visible
J
Jack Lu
started a topic
almost 7 years ago
HtmlDrawable not visible
1 Comment
J
Jack Lu
said
almost 7 years ago
I know it's an answered question in this forum, but I want get my code working without having to trying around for the moment.
I just added this code in 3D model at geolocation sample:
var modelEarth = new AR.HtmlDrawable({ html: "<div>abc</div>" }, 1, {
viewportWidth: 300,
viewportHeight: 300
});
which replaces the 3d earth with a div, but the div is never seen.
I've seen examples using separate html file, which specifies viewport. Do I have to specify viewport when I'm using inline html?
Thanks.
Login
or
Signup
to post a comment
More topics in
Wikitude SDK Questions or Problems
Instatiation of WTArchitectView compile errors
Point of interest - native iOS
Slider
Camera lagging / slow in native Swift application
Create a web service
N-th ImageDrawable not displayed
Radar Example
stop defaultlocationmanager and use architectview.injectlocation ios 10
WTC Size Limit
AngularJS and wikitude
See all 3870 topics
© 2021 Wikitude, a Qualcomm company
Jack Lu