Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2008

    Some Questions about JSR293

    I am interested in JSR293.
    I read the Proposed Final Draft documents. I have some questions.

    1. MapServiceProvider interface has two methods named as "displayMap()". One requests to display a map with the given map overlay objects. the other requests to display a map with landmarks, areas, coordinates and route. btw if I want to display landmarks and map overlay objects on the same map, how can I do this?
    I want to know why you make additional API instead of passing the map overlay objects as additional parameter.

    void displayMap(RectangleGeographicArea initialViewport,
    GeographicArea[] areas,
    Landmark[] landmarks,
    Coordinates coordinates,
    Route route,
    MapServicePreferences preferences,
    MapServiceListener listener)
    throws ServiceException

    Requests a map service provider to display a map. An application may specify a set geographical areas, a set of landmarks, a coordinates object and a route to be shown on the map. An application may request only one of these alternatives or any combination of them. The application also specifies what is the initial viewport to the map that is shown to the user with Viewport object. Passing null as the initial viewport, means that the map service provider decides the initial viewport.
    This is method signature and its description.
    the type of initialViewport is RectangleGeographicArea, is it right?
    in the description, its type seems to be Viewport.

    Last edited by ehooi; 2008-10-31 at 07:56.

  2. #2
    Nokia Developer Expert
    Join Date
    Feb 2008

    Re: Some Questions about JSR293


    for some reason, the version (v.0.15) that is downloadable from the JCP website is not the latest version. I asked the spec lead to upload the latest, so please take a look on the new one as it does not have two displayMap() methods anymore. We in fact removed the class MapOverlays as it had many problems. Now that if developer wants to do map mashups, he/she must use the Map object and he/she can render whatever he/she wants on top of that.

    Sorry for the confusion, I will post here when the final version is online.

    Carl Snellman
    Member of the JSR293 Expert Group

  3. #3
    Registered User
    Join Date
    Oct 2008

    Re: Some Questions about JSR293

    Thank you for your response.
    I'll wait for the final version.

  4. #4
    Registered User
    Join Date
    Oct 2008

    Re: Some Questions about JSR293

    I got the final version from the JCP website.
    There are many changes.
    Is there reference implementation and test case?
    How can I get them if exist?

    Thank you

Similar Threads

  1. 20 questions game
    By Jimbo43 in forum Symbian
    Replies: 2
    Last Post: 2008-04-14, 17:04
  2. Replies: 0
    Last Post: 2008-03-02, 18:44
  3. Questions Not In Forum
    By JAgoika in forum Mobile Java General
    Replies: 5
    Last Post: 2004-10-22, 16:31
  4. some questions on NOKIA/symbian development, thank you!
    By trendin in forum Mobile Java General
    Replies: 1
    Last Post: 2004-03-18, 11:38
  5. Replies: 4
    Last Post: 2003-12-11, 03:43

Posting Permissions

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