We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我把 BMap.search方法内的 "query"的默认值改为了医院,我想展示附近的医院,就报错了,说Cannot read property 'latitude' of undefined,难道只能限制在生活服务$美食&酒店这三类值吗?
The text was updated successfully, but these errors were encountered:
没有限制啊,改成医院应该是没问题的 BMap.search({ "query": '医院', fail: fail, success: success, iconPath: '../../img/marker_red.png',
Sorry, something went wrong.
当我输入美食的时候没有问题,可就是输入医院的时候就报错,诊所都不会
你试试把success回调的data打印出来看看,可能是没检索到任何医院?
No branches or pull requests
我把 BMap.search方法内的 "query"的默认值改为了医院,我想展示附近的医院,就报错了,说Cannot read property 'latitude' of undefined,难道只能限制在生活服务$美食&酒店这三类值吗?
The text was updated successfully, but these errors were encountered: