i have gone through the document before so many times. i tried other multiple solutions:
onMarkerSelected: function onMarkerSelectedFn(marker) {
World.currentMarker = marker;
var m = new AR.GeoObject(marker.markerLocation, {
drawables: {
cam: World.overlayOne
}
});
}
and in all of the above, the result is that the marker animation runs as expected but there is no drawable shown anywhere insight
Hi Bayan,
since you already have a GeoObject for the marker you want to select I would suggest that you add the drawable you want to display when the marker is selected to that GeoObject with GeoObject.drawables.addCamDrawable.
Best Regards,
Alex
Thanks, Alex and Eva
it worked perfectly
and many thanks for the fast response
bayan boreggah
Simply what i want to do is show an image after a marker is selected
what i did is
first defined image and its overlay on World
then onMarkerSelected(marker) I created Geo Object
when i run this nothing shows up on marker selected
1 person has this problem