Results 1 to 4 of 4

Thread: Google Map inside List Template / Component inside HTML

  1. #1

    Default Google Map inside List Template / Component inside HTML

    Hello friends!

    I have a "List Component" inside my application.
    When a user taps on one of the list items, all other items should like slide down and the Google Map has to be shown right under the taped item. Like this:

    Attachment 44954

    I can not add the "Google Map component" into the list template...

    Could anybody please give an advice?
    Maybe using just Sencha Touch 2 syntax - without an Architect.


    Thanx for every information!
    Best regards from Cologne, Germany

    Nikolai

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    Is your list using components to display or just a normal itemTpl? What ST 2.x.x version?
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3

    Default

    Hi Guys,

    I have a similar problem.. I want to insert a Video component dynamically inside of the item clicked. I'm using Sencha Touch 2.2.1.

    Any idea?

    Thanks

  4. #4

    Default

    Hello Mitchell,

    I'm using ST 2.2.1.

    I have a List Component with an itemTpl inside, like this:


    Ext.define('Allergieratgeber.view.PollenList', {
    extend: 'Ext.dataview.List',
    alias: 'widget.pollenlist',


    config: {
    cls: 'pollenlist',
    id: 'pollenList',
    minHeight: '100%',
    styleHtmlContent: true,
    emptyText: 'The List is empty',
    store: 'TagModel',
    onItemDisclosure: true,
    itemTpl: [
    '<div class="wraper">',
    ' <div class="polleName">{}</div>',
    ' <div class="statusBar{Grad}"></div>',
    '</div>',
    '<div id="{Art}" class="mapContainer"></div>'
    ]
    },


    initialize: function() {
    this.callParent();
    }


    });


    Thank you very much for your support!

    Best regards,
    Nikolai

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •