I want to keep on updating contents like text of HTMLDrawable POI marker on location change without destroying and pushing back newly created same HTMLDrawable marker.
I have tried few ways to update it in my marker.js file but none of them seem to work.
Is it possible to do this in HTMLDrawable?
Would really appreciate any help on this!
over 9 years ago
Yes, dynamically updating html content of an AR.HTMLDrawable is possible. Please use the latest SDK version as there was a change between 3.0 and 3.1 regarding HTMLDrawables. Latest version is 3.2.1.
If the problem persists please make sure there are no JS errors are reported and post the relevant/all code here so we can have a look at it. To test the js part for errors you can run the experience in the desktop browser using the ade.js or using on device debugging (sdk documentation includes more info, iOS 6.0+, Android since 4.4 are required).