var imageResource = new AR.ImageResource("assets/"+type);
this.iconDrawable = new AR.ImageDrawable(imageResource,1,{
zOrder: 0,
opacity: 1.0,
offsetY: 1.5,
onClick: Marker.prototype.getOnClickTrigger(this)
});
this.directionIndicatorDrawable = new AR.ImageDrawable(World.markerDrawable_directionIndicator, 0.1, {
enabled: true,
verticalAnchor: AR.CONST.VERTICAL_ANCHOR.TOP
});
this.markerObject = new AR.GeoObject(markerLocation, {
drawables: {
//cam: ,
cam:,
indicator: this.directionIndicatorDrawable,
}
});
return this;
}
</code>
Tested: Android 4.4 Titanium Module.
N
Nicola Radacher
said
over 7 years ago
HI Joaquin,
Does the sample app without any changes work as expected? Please also recheck the lcoations you use and make sure that e.g. you're not switching lat/lon values and that the culling distance is set high enough.
Greetings
Nicola
J
Joaquin Lom
said
over 7 years ago
Hi, thaks for reply. The exmaple itself do the same thing. the culling distance is set on more than default value. and lat and lng is set correctly.
N
Nicola Radacher
said
over 7 years ago
Hi,
So you're working with your own POIs and not the 'random POI functionality' used in the sample app? Did you make sure that your location is in the vicinity of the POIs - if the POIs are very far away from you it might also occur that it looks like there is only 1 POI.
Greetings
Nicola
J
Joaquin Lom
said
over 7 years ago
Hi.
I understand you point but. here is my position and then this are the POI i want to display
as you can see, the black point its me :D, and around is the POI's. only 1 is show and is not one of these (is one of more far).
N
Nicola Radacher
said
over 7 years ago
Hi,
Ok. Can you please send me the complete AR experience (html, js, css files, asstes,..) so we can test on our end.
Thx and greetings
Nicola
J
Joaquin Lom
said
over 7 years ago
Thanks. Of course, can i pass you via DM or something?
N
Nicola Radacher
said
over 7 years ago
Sorry - you can send it to forum wikitude.com
Greetings
Nicola
J
Joaquin Lom
said
over 7 years ago
Hi just in case. It seems like using the module of Titanium on Alloy its causing this behavior, its not a bug because like the staff of wikitude said, Titanium module its not oficially supported Alloy. So yeah if you want to use it with Alloy you need to create a module to open the AR activity(like the example in github) and customize.
Joaquin Lom