Home > front end > Vue baidu map how to add multiple tagging, display various data when moving the mouse
Vue baidu map how to add multiple tagging, display various data when moving the mouse
Time:10-02
Vue baidu map API how to add multiple tagging, when moving to the various annotation display each annotation information, can someone tell me the way of thinking, the backend interface is ready, but the front vue is unlikely to get, thank you
CodePudding user response:
You can try to use the mouse to move the method of real-time access to location of the mouse coordinates, or the location of the mouse on behalf of the area, because I don't know what data you backend specific needs, you can need according to the back-end data, you send coordinates or position for him, and then send the request, his data, cloth inside the box, and set a v - if, such as when the data and status to 200, will display box, don't know I can do for you
CodePudding user response:
Create the baidu map information window, add click or mouseover events to mark let its shows that
CodePudding user response:
Vue components have a map, but I didn't know, after finished I was directly introduced website have demo can reference