Is it possible to use custom markers?

前端 未结 2 1786
情话喂你
情话喂你 2020-12-07 01:52

Is it possible to use bespoke markers that do not resemble the \"Hiro\" marker like below. Could I potentially use a random shape (a solid red oval for example) as a marker?

2条回答
  •  醉梦人生
    2020-12-07 02:12

    AR.js supports custom markers. Make any silly image with the marker generator.

    Let ar.js know that you want to use your marker:

    
          
    
    

    and voila. You can check it out in this glitch using this image.

提交回复
热议问题