the marker can drag , so the Custom Overlays can drag too ,
so how to make the Custom Overlays draggable ,
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I recently put together a solution on a similar thread that applies greatly to this question as well:
Here is the other Stack Overflow Thread Showing how to create a custom overlay in V3 with a draggable object
Here is the working example:
http://www.johnmick.net/drag-div-v3/
Here is some of the source:
http://www.johnmick.net/drag-div-v3/js/main.js
To make the Custom Overlay itself draggable, using jQuery UI, you would just make the div object of the overlay draggable like: