Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User upixsoul's Avatar
    Join Date
    May 2012
    Posts
    43
    im working in a tracking system, we want to put, every minute or 3 minutes a StandardMarker in a map.
    we want to know when we put the mark on the map if that mark is inside a defined route.
    Can you help me?
    we are using the example:
    http://api.maps.ovi.com/playground2/...raggableroutes

  2. #2
    Registered User tsteenbe's Avatar
    Join Date
    May 2012
    Posts
    6
    First of all I should mention the Ovi API are being deprecated I strongly urge to switch to Nokia Maps API (api.maps.nokia.com). Ovi was rebranded to Nokia and the signatures of the APIs are quite similar so switching should be easy and you will heat maps, places, KML and mobile support as a bonus (see for list of examples http://api.maps.nokia.com/en/playground/env/nojs/).

    To answer your question of determining intersection between a marker and a route, I think map.getObjectsAt is the best method to determine this.
    Have a look at this example http://api.maps.nokia.com/en/playgro.../tracking.html
    Don't have time tonight but I will try to write you an example tomorrow..

  3. #3
    Registered User upixsoul's Avatar
    Join Date
    May 2012
    Posts
    43
    hello, thanks for your answer, i been looking at the samples in api.maps.nokia.com but i cant find the placer, the url to download the java script api, can you post the link to download?

  4. #4
    Registered User upixsoul's Avatar
    Join Date
    May 2012
    Posts
    43
    i already have a look, i can do the samples now, if you finish the sample of tracking i hope you can post it thanks!

  5. #5
    Registered User upixsoul's Avatar
    Join Date
    May 2012
    Posts
    43
    i have a look in http://api.maps.nokia.com/en/playgro.../tracking.html but, in that example, the route have a list of points, but, in a route, just like in http://api.maps.nokia.com/en/playgro...xample_routing you dont have that list of points, theres is a way to ask for that list of points? how are you doing with the example that you say ?

  6. #6
    Registered User upixsoul's Avatar
    Join Date
    May 2012
    Posts
    43
    Quote Originally Posted by tsteenbe View Post
    First of all I should mention the Ovi API are being deprecated I strongly urge to switch to Nokia Maps API (api.maps.nokia.com). Ovi was rebranded to Nokia and the signatures of the APIs are quite similar so switching should be easy and you will heat maps, places, KML and mobile support as a bonus (see for list of examples http://api.maps.nokia.com/en/playground/env/nojs/).

    To answer your question of determining intersection between a marker and a route, I think map.getObjectsAt is the best method to determine this.
    Have a look at this example http://api.maps.nokia.com/en/playgro.../tracking.html
    Don't have time tonight but I will try to write you an example tomorrow..
    m using this example
    http://api.maps.nokia.com/en/playgro...xample_routing

    what i want to do is get the polyline from the result, and in a function, send the coordinate of a point, and by using the polyline`s getNearest (coord)
    know how much separate is the coordinate of the route

    can you help me with that?

  7. #7

Similar Threads

  1. How to Route on Nokia Map API
    By Arif_Mubashir in forum Maps API for Java ME
    Replies: 3
    Last Post: 2012-05-15, 13:36
  2. Route Map is not working...
    By Ulala in forum Maps API for Javascript
    Replies: 6
    Last Post: 2012-03-19, 20:12
  3. Font size of Ovi Maps + StandardMarker shown incorrectly
    By fonurr in forum Symbian Web Runtime
    Replies: 3
    Last Post: 2011-11-15, 13:06
  4. route and record route on 3rd edition
    By jcaradec in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2007-04-16, 19:07
  5. Record-Route and Route at SIP
    By mhappenhofer in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-11-30, 09:22

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