I am currently developing an application in which I have to show infoWindow in a click event on the map itself.
My question is that I want to show the button, as well as the combo box in this info window. How can i do this?
You need to add a custom UIView to your MKMapView and suppress the default MKAnnotation view. Your custom UIView may include the controls you want in the leader.
You may find the following useful:
, , ( subview). , . , callout ( infoWindow) iPhone.
Edit
Ok. , , , - -, API Javascript Google Maps?
. GMarker openInfoWindow, , . HTML-, -. :
<input type="checkbox" name="vehicle" value="Airplane" /> <input type="button" value="Blah" />
content InfoWindow?
myWindow = new google.maps.InfoWindow({ content:'<input type="checkbox" name="vehicle" value="Airplane" /><input type="button" value="Blah" />', }); myWindow.open(map, marker);
Source: https://habr.com/ru/post/1730850/More articles:Hibernate Query with conditions in a complex db structure - databaseMutex over the network - C # .NET - c #Tray app takes up 40 MB in xp and 10mb in win7 - c #parallel access to the method - c #How to emulate the behavior of a request scope in a bean session scope? - javaHow long should the SAML token be installed - samlJSF link in SelectItem shortcut - jsfHow to search in 5 different fields with all possible options not defined in MySQL using LIKE - sqlкак вы получаете доступ к переменным, определенным в masterpage.master.vb, в masterpage.master - syntaxLink to many? - asp.netAll Articles