On Aug 5, 7:37 am, Greg45 <[email protected]> wrote: > sorry larry I don't understand what do you meant by "click". > > If I undestand what you mean, I can re-open my infowindow after load > the map. > > Yes I think it's the solution but I don't know how make this
Quick and dirty implementation of the concept: http://www.geocodezip.com/greglg_free_fr_mapB.html -- Larry > > On Aug 5, 3:38 pm, "[email protected]" <[email protected]> > wrote: > > > > > On Aug 5, 6:17 am, "[email protected]" <[email protected]> > > wrote: > > > > On Aug 5, 6:09 am, Greg45 <[email protected]> wrote: > > > > > yes and it's work, but I preferer center the infowindow directly after > > > > clic on zoom button > > > > Then why don't you do that? The problem will be calculating where you > > > want the map to center. Right now you are telling the API to center > > > the map on the marker. > > > Although perhaps you didn't understand what I meant by "click" on the > > marker. > > > If you keep an array of markers, you can programatically trigger a > > click on the marker which will re-open the infoWindow and cause the > > API to do its auto-pan so the infoWindow fits on the map. > > > -- Larry > > > > -- Larry > > > > > On Aug 5, 3:03 pm, "[email protected]" <[email protected]> > > > > wrote: > > > > > > On Aug 5, 1:09 am, Greg45 <[email protected]> wrote: > > > > > > > Hello, > > > > > > > I have the same problem on my website : > > > > > > >http://greglg.free.fr/spotme/map.php > > > > > > > in my infowindow I have 2 external button for zoom. When I use it, > > > > > > My > > > > > > marker is center not my infowindow. > > > > > > Have you tried "clicking" on the marker to re-open the infoWindow > > > > > after a zoom? > > > > > > -- Larry > > > > > > > I think for fix this error, I need to add code for close infowindows > > > > > > before Zoom but after a lot of test, > > > > > > > I don't now how make this > > > > > > > Could you help me please ? > > > > > > > see you > > > > > > > On Jul 15, 1:23 pm, Chad Killingsworth > > > > > > > <[email protected]> wrote: > > > > > > > Without setting thecenter, you could manually delay the opening of > > > > > > > theInfoWindow. I'd recommend opening it in the tilesloaded event. > > > > > > > > google.maps.event.addListenerOnce(map, 'tilesloaded', function() > > > > > > > {infowindow.open(map,marker); } ); > > > > > > > > Chad Killingsworth > > > > > > > > On Jul 14, 11:17 pm, "Susannah (Google Employee)" > > > > > > > > <[email protected]> wrote: > > > > > > > > Hi Alex, > > > > > > > > > It looks to me like the info window is opening before we've > > > > > > > > calculated > > > > > > > > the size of the controls at the top, so it's positioning itself > > > > > > > > as if > > > > > > > > the map type control weren't there. If you click on the marker > > > > > > > > you'll > > > > > > > > see that it slides into the correct place. We could change this > > > > > > > > behavior, but it would mean delaying the info window open until > > > > > > > > the > > > > > > > > control is in place, which doesn't seem generally advantageous. > > > > > > > > > I would recommend setting thecenterof the map to the LatLng you > > > > > > > > want > > > > > > > > after the info window is opened. This will avoid the map > > > > > > > > panning when > > > > > > > > your user first loads your page and will have theInfoWindow > > > > > > > > positioned fully on the map. > > > > > > > > > Hope this helps, > > > > > > > > Susannah > > > > > > > > > On Jul 15, 8:56 am, Chad Killingsworth > > > > > > > > > <[email protected]> wrote: > > > > > > > > > On my browsers it's fully on the map - just behind the default > > > > > > > > > controls. The easy answer might be to move the controls to > > > > > > > > > the left > > > > > > > > > side of the map and/or use the drop down version. > > > > > > > > > > Chad Killingsworth > > > > > > > > > > On Jul 14, 1:40 pm, "Alex R." <[email protected]> wrote: > > > > > > > > > > > It's still not all the way on there, though that did help a > > > > > > > > > > lot. > > > > > > > > > > Thanks. > > > > > > > > > > Any way to move it down a little bit more? > > > > > > > > > > > On Jul 14, 2:00 pm, Chad Killingsworth > > > > > > > > > > > <[email protected]> wrote: > > > > > > > > > > > Specifically, specify your icon with a > > > > > > > > > > > google.maps.MarkerImage instead > > > > > > > > > > > of just a string - make sure to pass in the size object. > > > > > > > > > > > > Also: > > > > > > > > > > > marker.iconSize = GSize(23,22); > > > > > > > > > > > > That's a v2 function and is causing an error on your site. > > > > > > > > > > > > Chad Killingsworth > > > > > > > > > > > > On Jul 14, 11:35 am, "[email protected]" > > > > > > > > > > > <[email protected]> > > > > > > > > > > > wrote: > > > > > > > > > > > > > On Jul 14, 9:57 am, "Alex R." <[email protected]> > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > Pretty much what the subject says. It's easiest to > > > > > > > > > > > > > just see it > > > > > > > > > > > > > >http://www.launchpad-creatives.com/contact.html > > > > > > > > > > > > > > Any suggestions on how to fix it? > > > > > > > > > > > > > Define the size of the icon or preload it in the > > > > > > > > > > > > browser cache. > > > > > > > > > > > > > -- Larry- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
