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
Cordova, Titanium, Unity, Xamarin
Cordova Questions or Problems
HtmlDrawable Not working
M
Mauro
started a topic
over 9 years ago
HtmlDrawable Not working
1 Comment
M
Mauro
said
over 9 years ago
Hi, I want to show in my GeoObject htmlDrawable content, but not work.
I'm using ios phonegap plugin downloaded yesterday, then it's updated at latest version.
Here is my htmlDrawable creation object:
var htmlDrawable = new AR.HtmlDrawable({html:"<div>Poi 1</div>"}, 1, {
offsetX : 1,
onClick : function() {
htmlDrawable.html += "<div>Description</div>";
},
horizontalAnchor : AR.CONST.HORIZONTAL_ANCHOR.LEFT,
opacity : 0.9
});
and here is the creation of GeoObject:
var markerObject = new AR.GeoObject(markerLocation, {
drawables: {
cam: htmlDrawable,
indicator: this.directionIndicatorDrawable
}
});
Can anyone show me an example of how it works on iphone phonegap plugin?
Login
or
Signup
to post a comment
More topics in
Cordova Questions or Problems
Show POI only on Radar, not on camera
Capture Screen
Phonegap + SenchaTouch or other frameworks
PhoneGap App Issues
iOS App Compilation Error
JSon data WikitudeSDK + PhoneGap
onExit() , Avoid to close the AR on "BackButton" - Wikitude - PhoneGap
HTMLDrawable in Phonegap Plugin
Video not playing (wikitude sdk 1.1.1 + phonegap)
Bug when using PhoneGap and opening AR view multiple times
See all 577 topics
© 2021 Wikitude, a Qualcomm company
Mauro