×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Nokia Developer Expert
    Join Date
    Oct 2012
    Posts
    5

    Template examples

    I am looking at http://api.maps.nokia.com/en/playgro...ate_place_desc

    And I view Code editor, but it does not show me the template that was used to derive the "component".

    Is there some place where I can see more template examples, they will inadvertently, better explain what is available.

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2012
    Posts
    5

    Trying to display map within custom place template

    http://api.maps.nokia.com/en/places/...ation.html#map

    Does this work?

    Code:
    <div module="Map" class="nokia-place-map">
        <div rel="map-container" class="nokia-place-map-container"></div>
        <a rel="zoom-in" class="nokia-place-zoom-in"></a>
        <a rel="zoom-out" class="nokia-place-zoom-out"></a>
    </div>
    Does the component on this page http://api.maps.nokia.com/en/playgro...ate_place_desc use 'module="Map"'?

    Can I see the template markup for http://api.maps.nokia.com/en/playgro...ate_place_desc ?

  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,491

    Re: Trying to display map within custom place template

    Please avoid opening multiple threads for related issues..I am merging two of your threads

  4. #4
    Nokia Developer Expert
    Join Date
    Oct 2012
    Posts
    5

    Re: Template examples

    Turns out that the map container needs a height and a width.

    Code:
    <div module="Map" class="nokia-place-map">
    <div rel="map-container" class="nokia-place-map-container" style="width:100px;height:100px;"></div>
    <a rel="zoom-in" class="nokia-place-zoom-in"></a>
    <a rel="zoom-out" class="nokia-place-zoom-out"></a>
    </div>
    Better documentation is here: http://api.maps.nokia.com/places/Cus...ceExample.html
    Last edited by nosretep; 2012-10-05 at 19:43.

Similar Threads

  1. WRT Template
    By sreerajvr in forum Symbian Web Runtime
    Replies: 1
    Last Post: 2010-12-21, 10:37
  2. Template specialization involving Template class
    By cajagu in forum Symbian C++
    Replies: 2
    Last Post: 2009-07-24, 13:37
  3. template vs. non-template versions of a function
    By cajagu in forum Symbian C++
    Replies: 2
    Last Post: 2009-07-23, 10:17
  4. Template example
    By kamal_bhavita in forum Symbian C++
    Replies: 2
    Last Post: 2009-03-16, 10:15
  5. SMS UI template
    By ninidotnet in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-04-07, 04:36

Posting Permissions

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