Start a new topic

HtmlDrawable Not working

HtmlDrawable Not working
1 Comment

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>";



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