Thanks so much for the clarification. Perfectly clear now! On Thu, Oct 15, 2015 at 4:41 PM, Silvio Fiorito < silvio.fior...@granturing.com> wrote:
> Hi Chad, > > So with that Angular code I posted you can then create an Angular variable > called “locations” and set it from a separate Scala paragraph, like so: > > case class Loc(desc: String, lat: Double, lon: Double) > val locations = Array(Loc(“Test”, 24.4, 49.8)) > z.angularBind(“locations”, locations) > > The locations value would be an array of a case class. In my example, I’m > expecting the fields “desc”, “lat”, and “lon” (see lines 23-24) but you can > use whatever you want. Obviously you would set that based on some Spark or > other query. > > Let me know if that works or not! > > Thanks, > Silvio > > From: Chad Roberts > Reply-To: "users@zeppelin.incubator.apache.org" > Date: Thursday, October 15, 2015 at 4:31 PM > To: "users@zeppelin.incubator.apache.org" > Subject: Re: Reactive Angular charts sample > > Silvio, thanks for the examples. > > I'm a bit [totally] new when it comes to working with angular. I'm > running your map example and I get the map to display just fine, but how > would I add markers to the map from a separate paragraph? > > Thanks, > Chad > > On Tue, Oct 6, 2015 at 10:48 AM, Silvio Fiorito < > silvio.fior...@granturing.com> wrote: > >> Hey everyone, >> >> Great I’m glad this was helpful! It definitely opens up a lot of >> possibilities to extend the power of Zeppelin UI. >> >> I’m also working on a few things to make Streaming a bit nicer, like a >> button to start/stop the streaming context and displaying realtime stats of >> the streaming job in the UI as well. >> >> I’ll keep the list updated and post more examples as I get them. >> >> Thanks, >> Silvio >> > >