Hey John-

Sorry, no, we haven't figured this out yet. If you need a solution
soon, probably the best thing to do is to extend OverlayView with your
custom infowindow canvas code, and implement some panning code.
There's some simple panning code at the bottom of this JS extension:
http://gmaps-samples-v3.googlecode.com/svn/trunk/infowindow_custom/infobox.js


- pamela

On Tue, Jun 2, 2009 at 4:12 PM, John K<[email protected]> wrote:
>
> Hi Pam et al.,
> Any thoughts on this one?
> Thanks!
>
> On May 26, 4:03 am, pamela fox <[email protected]> wrote:
>> Thanks, John, we'll look into this.
>>
>> On Wed, May 20, 2009 at 5:57 PM, John K <[email protected]> wrote:
>>
>> > Reposting this (original didn't have a link)
>>
>> > For a custom infoWindow, I have a component named infoWindowComTEST.
>> > It's basically only  <mx:canvas  width = "125" height = "125"> (but
>> > I've also created it as other components).
>>
>> > Clicking the marker brings up the infoWindow. If the dimensions of the
>> > infoWindow go off the edge, the map pans appropriately (almost).
>> > Anything beyond 100px goes off the edge of the map, to the bottom or
>> > right for the code below.
>>
>> > Thanks! John
>>
>> > Here's a bit of code -- full code and example at:
>> >http://www2.integrativemedicine.arizona.edu/demos/mapdemo/
>>
>> > public function createMarker(latlng:LatLng): Marker {
>> > var marker:Marker = new Marker(latlng);
>> > marker.addEventListener(MapMouseEvent.CLICK, doInfoWindow);
>> > function  doInfoWindow(e:MapMouseEvent):void {
>> > var thisInfoWindow:infoWindowComTEST = new infoWindowComTEST;
>> > var infoWindowOptions:InfoWindowOptions = new InfoWindowOptions();
>> > infoWindowOptions.width = 150;              // USING THIS OR NOT
>> > DIDN"T SEEM TO FIX
>> > infoWindowOptions.customContent = thisInfoWindow;
>> > marker.openInfoWindow(infoWindowOptions);
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to