maplink api sample application