| Issue 5415: | Infowindow domready doesn't fire when visualRefresh=true | |
| 6 people starred this issue and may be notified of changes. | Back to list |
Hi, If you set google.maps.visualRefresh=true, then for some reason the infowindow domready event doesn't fire. This is with v3.exp. Example here with visualRefresh=true: www.gavinsayce.co.uk/test/domready-vexp-vr.html Same code without visualRefresh: www.gavinsayce.co.uk/test/domready-vexp.html Thanks, Gavin
May 27, 2013
Issue 5411 has been merged into this issue.
May 27, 2013
(No comment was entered for this change.)
Status:
Fixed
May 27, 2013
Thanks for marking it as fixed. The maps.googleapis.com/maps/api/js?v=3.exp code does not yet have the fix. Any idea how long it takes to become available from when it is marked as fixed? Thanks
May 29, 2013
Maybe something is cached in your browser that shouldn't be? Try a hard refresh. Both of your examples now work for me.
May 29, 2013
Working now. Thanks
Jun 19, 2013
now check new google maps design on my site(google.maps.visualRefresh=true), infowindow get out of shape.
it's my code.
------------------------------------------------
var infoWindow = new google.maps.InfoWindow({
content: getInfoWindowContents(info)
});
google.maps.event.addListener(marker, 'click', function() {
/*20130117 infowindow使いまわしたら表示が変な気がする*/
if (currentInfoWindow) {
currentInfoWindow.close();
}
infoWindow.open(gmap,marker);
currentInfoWindow = infoWindow;
.....
});
~.~.~~.~.~~.~.~~.~.~~.~.~~.~.~~.~.~~.~.~~.~.~~.~
function getInfoWindowContents(info){
var infoWindowElem = J('<div>',{'class':'wInfoWindow'});
if (info.title == undefined){ //waterInfo
//写真
var picElem = J('<img>',{'class':'float_l', src:info.infoPicListRef[0].small_serving_url});
var containerElem = J('<div>', {'class':'float_l'});
//人の名前
var nameElem = J('<span>',{'class':'name'}).text(info.applyUser.name);
//コメント
var commentElem = J('<span>').text(modShortText(info.comment));
//場所
var addressElem = J('<span>',{'class':'info_address'});
infoWindowElem.append(picElem,
containerElem.append(nameElem,commentElem,'<br>',addressElem));
}else{ //actionInfo
//写真
var picElem = J('<img>',{'class':'float_l', src:info.infoPicListRef[0].small_serving_url});
var containerElem = J('<div>', {'class':'float_l'});
//人の名前
var nameElem = J('<span>',{'class':'name'}).text(info.applyUser.name);
//タイトル
var titleElem = J('<span>').text(info.title);
//対象期間
var termElem = J('<span>').text(dateUtil.getStDate(info.term_s) + ' ~ ' + dateUtil.getStDate(info.term_e));
infoWindowElem.append(picElem,
containerElem.append(nameElem,titleElem,'<br>',termElem));
}
return J(infoWindowElem)[0];
}
------------------------------------------------
Thanks
Takashi
Aug 28, 2013
Had this problem and empty cache + reload did the job. |
|
| ► Sign in to add a comment |
Owner: [email protected]
Labels: Internal-8843912