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 -~----------~----~----~----~------~----~------~--~---
