This is how I achieved my custom infowindow that I can update with different headings, pictures and descriptions of each marker
http://www.rsmacfarlane.com/4th-year-project/how-to-create-your-own-custom-infowindow-with-google-maps-api-and-flex Hope that helps in some way Cheers On Feb 18, 12:31 am, Daniel <[email protected]> wrote: > I have been trying to send this message but it doesn't seem to take. Maybe > because I was using a different email address. Here is another try at it. > > Create a object "var infoSprite:InfoWindowSprite". In your infoWindowOptions > change "content" to "customContent:infoSprite" where infoSprite would would > be your object's instance name. You would then just need to create that > infoSprite with what ever content you want. Here is a example that is posted > on google's > site.http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/CustomInfoW... > > Daniel, > Vinda Mediawww.vindamedia.com > > On Wed, Feb 17, 2010 at 9:31 AM, [email protected] < > > [email protected]> wrote: > > mediajammer > > > It seems you are confusing the standard infoWindow for a > > customContainer. > > > If you wanted to embed other items than simply a "header line" of text > > and a "body copy" block of text, you would need to create a custom > > display object. > > > Hope that helps > > > On Feb 17, 10:45 am, Joe <[email protected]> wrote: > > > Hi Peter, > > > > This is a longshot -- try specifying a width and height in the > > > InfoWindowOptions. > > > > -Joe > > > > On Feb 16, 3:39 pm, mediajammer <[email protected]> wrote: > > > > > The docs for the Info Window say "the Map object provides an > > > > openInfoWindow() method, which takes a LatLng and InfoWindowOptions > > > > used to populate the InfoWindow with content. The openInfoWindow() > > > > object appends a DisplayObject to the info window container, and the > > > > info window window tip is anchored to the given latitude and > > > > longitude." > > > > > I thought this was great, assuming that I could place any Flash > > > > display object within the InfoWindow. However, so far I haven't had > > > > any luck, and I'm beginning to wonder if the docs mean 'display > > > > object' as a Flash Display object, or something else. > > > > > Has anyone else figured this out? The example is > > > > map.openInfoWindow(map.getCenter(), new InfoWindowOptions({title: > > > > "Hello", content: "World"})); > > > > > but what "World" is is not defined. > > > > > Thanks, > > > > Peter W > > > -- > > 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]<google-maps-api-for-flash%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-maps-api-for-flash?hl=en. -- 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.
