I did need to attach this to the map actually and that's almost precisely what I ended up doing.
Since marker icons can be displayobjects, I actually placed all of my infowindow needs (100% custom) into a class that's within the icon's movieclip. You can then access that custom class via marker.getOptions().icon. Had to do alot of finagling to make sure all of the objects within it were not mouseenabled and are behind the marker's icon when the infowindow is not open, but it works! On Nov 11, 11:02 pm, mic <[email protected]> wrote: > The simplest way to handle this sort of thing is to use > fromLatLngToViewport to convert the latlng to screen coordinates and > then just position and animate your custom displayobject in there. > This way the display object isn't added directly to the map.. > > If you need to add it to the map, to automatically get it positioned > correctly when the map moves etc. the best way is to use another > marker with a custom icon, which will be your display object. > > http://code.google.com/apis/maps/documentation/flash/reference.html#M... > > Hope that helps! > > Michael > > On Nov 12, 2:28 am, midimid <[email protected]> wrote: > > > > > > > > > Crap - so what I'm realizing is that only a single infowindow can > > exist at once. Thus, can't fadein one and fadeout another. It seems > > that in order to do this I have to start doing some much further > > removed customizing. > > > So what would be the best way to just attach a Movieclip to a specific > > lng/lat on the map so that it behaves in the same way as a marker or > > infowindow? -- 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.
