Ho un problema su gmaps v0.3 che quando aggiungoMarker Come lasciare aprire InfoWindow. non quando apri l'apertura.Come auto aprire infoWindow in gmaps v0.3
<script type="text/javascript">
var map;
$(document).ready(function(){
map = new GMaps({
div: '#map',
lat: 39.908403,
lng: 116.397529,
zoom: 1,
});
var marker = new google.maps.Marker();
marker = {
lat: 39.908403,
lng: 116.397529,
title: 'Lima',
//map: map.map,
//animation: google.maps.Animation.BOUNCE,
//shape: {coords: [0,0,50,50], type: "rect"},
infoWindow: {
content: '<font color="red">hello world</font>'
}
}
map.addMarker(marker);
});
voglio quando addMarker automobile aperta infowindow non scatta, che cosa devo fare. per favore aiutatemi.
ciò che è "Inserire il codice qui"? Si prega di inviare la funzione completa. – Marcelo
Siamo spiacenti! Ho modificato, è il codice finale, ora. cosa devo fare – daiguachen