I am hoping that you would share a working sample. I have no luck yet. Thanks!
On May 8, 6:06 am, Daniel <[email protected]> wrote: > Did you get it to work? I am going to make an app for andriod tomorrow and > if you didn't get it to work I will add a component infoWindow while i am > doing it. Don't really need one in the app right now, but if you are having > trouble still I'll add it real fast and send you the code. > > > > On Fri, May 6, 2011 at 10:31 AM, Harry L. <[email protected]> wrote: > > Hi Daniel, > > > I couldn't get it to work, some help would be great. I believe others > > will find it helpful too. Basically, I used the cookbook example and > > overlay an Xml file. On the example, it says data should be > > referenced on following event: > > > public function > > onMarkerClick(event:MapMouseEvent):void > > { > > // fetch clicked marker > > var marker:Marker = event.target as Marker; > > // update any data displayed in info window > > if needed > > > infoWindow.Comp_myDG.dataProvider = marker; > > // I gave the datagrid > > on the custom component an id='Comp_myDG' > > > // display info window > > marker.openInfoWindow(new InfoWindowOptions( > > { > > width: infoWindow.width, > > height: infoWindow.height, > > drawDefaultFrame: true, > > customContent: infoWindow > > })); > > } > > > Thanks! > > > On May 6, 12:26 pm, Daniel <[email protected]> wrote: > > > Just create your markers in a loop and add the data to the infowindow. > > > Without looking at it too much, create your component with properties > > then > > > as you create the marker load the data into that property. > > > > If you need a little more help let me know and I will send you an example > > > later. Don't have much time right now. > > > > On Fri, May 6, 2011 at 8:45 AM, Harry L. <[email protected]> wrote: > > > > This is a better approach making customization a lot easier. Yet > > > > getting data to the custom infowindow still is very challenging. I > > > > wish someone would write a short demo on that, such as reading a xml > > > > file data to the infowindow when clicking on markers. > > > > > On May 6, 9:28 am, Daniel <[email protected]> wrote: > > > > > That is pretty cool! I made custom content using sprites before but > > > > making a > > > > > component seems more logical. > > > > > On May 6, 2011 6:21 AM, "Harry L." <[email protected]> wrote: > > > > > > > Has anyone seen this post? It's really cool! I am still playing > > with > > > > > > and couldn't get the xml data loop through and feed it as marker > > > > > > changes. > > >http://cookbooks.adobe.com/post_Google_Maps_Custom_Info_Window-17492.. > > > > .. > > > > > > > -- > > > > > > 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. > > > > > -- > > > > 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. > > > -- > > 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. -- 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.
