Google Maps v3: need multiple draggable markers to update HTML input fields

前端 未结 2 1082
悲哀的现实
悲哀的现实 2021-01-03 01:28

I\'m working on a project using Google Maps v3 that will allow users to drag and drop randomly placed markers (quantity, coordinates, and labels generated with php).

2条回答
  •  难免孤独
    2021-01-03 01:51

    Here is the answer. Define a custom id based on your marker properties and based on that access yout input field ids:

    
    
    
    
    
    
    
    
    
    
    







提交回复
热议问题