Carol; In your Ensemble app, you'll need to make an event that is
posted by the Result Grid and listened to by the Yahoo Map component.
Use Show/Hide Configuration (F2) and open the configuration for your
Grid component.  Under Form > Events > Post > {Single, Double}-click
Selection, and Create New. Name this, for example "Carol's Grid Click"
or whatever.  The open the Yahoo Map configuration and open Yahoo Map
> Events > Listen > Refresh Display.  Choose "Add existing" and type
in "Carol's Grid Click".  The event you created is a resource that
will carry information about the selected resource, including the
geo:lat and geo:long properties that the map component needs to
display a location.

You can check the above against the Default Application, which uses an
event named "Grid Click" for this purpose.

I'd also suggest taking a look at the **updated** "TopBraid Ensemble
Application Development Guide" in the More Information section of
http://www.topquadrant.com/products/TB_Ensemble.html.

The kennedys model does not have any lat/long data anymore, but you
can add some through Composer, etc.

-- Scott

On Aug 22, 9:59 pm, Carol Zhou <[email protected]> wrote:
> Scott, thanks for your reply, I tried what you suggested in my application,
> and I compared my application settings with the default application
> "Kennedys", the Yahoo map still doesn't show the location for the selection
> in Result Grid. I'm wondering if there's any settings I missed from TBC?
>
> Thanks,
>
> Carol
>
> On 21 August 2010 02:55, Scott Henninger <[email protected]> wrote:
>
> > Carol; There is no need for an api key when using Ensemble.  Using the
> > Default Application, all that is needed is to choose a resource that
> > has valid values for the properties <http://www.w3.org/2003/01/geo/
> > wgs84_pos#lat <http://www.w3.org/2003/01/geo/%0Awgs84_pos#lat>> and <
> >http://www.w3.org/2003/01/geo/wgs84_pos#long>.
>
> > In the Default Application, selecting a resource from the Result Grid
> > posts an event named "Map Click".  This event is listened to by
> > Refresh Display of the Yahoo Map component.  The map component will
> > then look for the geo:long and geo:lat values and map that location.
> > Other events in other components can be set up in the same way, with
> > the key piece being lat/long values in the resource.
>
> > -- Scott
>
> > On Aug 19, 9:31 pm, Carol <[email protected]> wrote:
> > > Hi there,
>
> > > I'd like to have the location of the place shown on the Yahoo Map when
> > > clicking the places shown in Result Grid, how do I make it work? Do I
> > > need to apply for a developer yahoo map api key from the Yahoo
> > > website?
>
> > > Thanks,
>
> > > Carol
>
> > --
> > You received this message because you are subscribed to the Google
> > Group "TopBraid Suite Users", the topics of which include TopBraid
> > Composer,
> > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> > To post to this group, send email to
> > [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<topbraid-users%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/topbraid-users?hl=en

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
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/topbraid-users?hl=en

Reply via email to