I cannot get any action by clicking on HtmlDrawable OR GeoObject on a device, but If I debug it with ADE, i can see the log-text in the console of Chrome / Firefox that it is clicked.
May be you can give me an answer, where i am wrong.
i have a dynamic htmldrawable like:
var htmlTop = "<!DOCTYPE html>n<html>\n<head>\n" +
Thanks for your request. What platform and device are you testing your code on? Are you using our Phonegap or Appcelerator plugins, or are you using the native SDKs directly?
Can you please also provide access to the HTMLMarker code, so we can debug internally and understand the issue better.
Thanks,
Martin
E
Engin Kaya
said
over 9 years ago
Hi,
thank you for your answer.
I am testing it on Samsung Tablet 10.1" (Android 4.1.1) .
Info: "World.onMarkerSelected(marker)": is same as in your examples.
The All HTMLMarker code is below:
function HTMLMarker(poiData)
{
this.poiData = poiData;
this.isSelected = false;
var htmlMarkerLocation = new AR.GeoLocation(poiData.latitude, poiData.longitude, poiData.altitude);
var locationUser = new AR.GeoLocation(poiData.actualLocLat, poiData.actualLocLon,0);
var htmlTop = "<!DOCTYPE html>n<html>\n<head>\n" +
Can you please send us your entire source code in a zip file, so we are able to run and debug?
If you do not want to post your zip file to the forum directly, you can send the file to forum@wikitude.com with the subject line "Click on HTMLDrawable". We will follow up with you shortly!
Thanks a lot,
Martin
E
Engin Kaya
said
over 9 years ago
Hi Martin,
thank you very much for your help. The error was by including the "jquery.mobile-1.3.2.min.js" in html and after removing it, it is working fine.
Engin Kaya