the marker can drag, so custom add-ins can drag,
how to make Custom Overlays draggable,
thank
I recently put together a solution on a similar thread, which is also very relevant to this issue:
Here's another thread. Shows how to create a custom overlay in V3 with a draggable object.
Here is a working example: http://www.johnmick.net/drag-div-v3/
Here are some of the sources: http://www.johnmick.net/drag-div-v3/js/main.js
Custom Overlay , jQuery UI, div , :
CustomOverlay.prototype.onAdd = function() { var div = document.createElement("DIV"); div.style.border = "none"; div.style.borderWidth = "0px"; div.style.position = "absolute"; div.style.visibility = "visible"; jQuery(div).draggable(); //Make the overlay itself draggable this.div = div; this.addPolygon(new google.maps.LatLng(46,0)); this.getPanes().overlayLayer.appendChild(div); };
"OverlayView", , "overlayMouseTarget" , , jQuery UI draggable() .
Source: https://habr.com/ru/post/1529650/More articles:PowerShell: Find the exact folder name - powershellПодклассификация NSOperation для интернет-операций с повторением - multithreadingCan we create custom overlays dragged onto Google V3 maps - google-maps-api-3https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1529648/is-a-new-repository-created-on-github-a-bare-repository-isnt-there-a-terminal-on-github-with-which-i-can-check&usg=ALkJrhgP1rgWbf1JD6xB6GGmFb4ipEMTZQPandas converting a dtype object to a string - pythonReading from a file after writing, before closing - pythonMIT-Scheme Window for SublimeREPL - schemeПочему Apache Cassandra пишет, что они настолько медленны по сравнению с MongoDB, Redis & MySql - mongodbHow to configure SublimeREPL for mit scheme? - mit-schemeSpring and cross context: WebAsyncManager cannot be passed to WebAsyncManager - javaAll Articles