Discussion Board

Results 1 to 3 of 3

Threaded View

  1. #1
    Registered User guard1an2's Avatar
    Join Date
    Dec 2012
    Posts
    10
    Hi, i've got a couple of questions.

    1.
    For an app need to modify the data in the interface once a new view is loaded. Among others, I want to create a new interface for selecting map type among others. So when the new view is loaded, I want to add an 'active' class to the loaded map interface select element. Is there a callback function for a loaded page?

    2.
    Added points of interests take a lot of time to process when compared to shapes. When adding +- 300 shapes, the time it takes to process that (locking map interaction while doing so), is around 5-30 ms. When adding +- 300 shapes and 600 pois, the process time is around 1200-6000 ms.
    I've tried using the (expirimental) pois property and the createPoi function, both seemed to perform just about the same. Is there a way to speed up this process?

    3.
    The documentation on the switchTo function names a viewParams array. Where can I read the contents of this array?
    edit: Seems to be nokia.mh5.app.controller.current.page.model.data . Not immediately accessible through the build callback though.

    On a more general note, the mh5 framework seems to be really specialized for just the mapping application. This makes the creation of more generic apps a bit difficult. For example, info bubble's provide the functionality to only have the lines specified. Poi's are quite interactive out of the box while you have to build that functionality for shapes. Still loving working with the mh5 framework, but sometimes I feel like I have to find workarounds to have the functionality I need.
    Also, it would be fun to have a gallery or something of apps people have already made with this framework. I'm curious as to how other people are using this.

    As always,

    Thanks in advance!

    Addition:
    I need data from a clicked image. Neither the 'this' object nor the event data gives me the data-... parameters in a way that is cross browser compatible.
    Edit: Nvm the addition, found a workaround :P
    Last edited by guard1an2; 2013-01-29 at 23:13.

Similar Threads

  1. Low performance with dynamically loaded components
    By pixsta in forum [Archived] Qt Quick
    Replies: 0
    Last Post: 2011-10-17, 06:39
  2. Capture click event on buttons in an html page loaded using browser control
    By curiouswalker in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2010-07-26, 03:12
  3. View switching on DLL callback
    By deepchand86 in forum Symbian C++
    Replies: 5
    Last Post: 2008-12-27, 05:43
  4. How to obtain loaded page from Browser Control API
    By kasuga in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-01-03, 06:33
  5. Page cannot be loaded
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-05-15, 16:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved