Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: GPS marker

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default GPS marker

    Hi friends,
    i am having one query regarding GPS marker.i did jsp program for vehicle tracking system and finished successfully.but i am having one small problem in dynamic moving marker(ie.autorefreshing the marker without refreshing whole page).can anyone tell me how to autorefresh the marker without refreshing map using jsp.i attached sample image with this thread.
    Attached Images Attached Images


  2. #2
    Junior Member
    Join Date
    Apr 2013
    Posts
    25
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default Re: GPS marker

    Hi,

    Well you can set the function that displays the marker to some time interval.
    For eg : say your function displaying the marker is function1 then you can use the setInterval("function1()",5000); which will be called every 5 sec and the marker will be refreshed.

  3. #3
    Junior Member
    Join Date
    Apr 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: GPS marker

    Quote Originally Posted by hope_08 View Post
    Hi,

    Well you can set the function that displays the marker to some time interval.
    For eg : say your function displaying the marker is function1 then you can use the setInterval("function1()",5000); which will be called every 5 sec and the marker will be refreshed.
    Hi,
    Thanking you for your favorable reply.I applied your logic in my Jsp program but it refresh only one time.So I need to refresh the google marker when new data inseret into data base

Similar Threads

  1. Android Mobile GPS
    By Christianmic530 in forum Android Development
    Replies: 5
    Last Post: May 28th, 2013, 07:35 AM
  2. marker interface
    By slicy in forum Java Theory & Questions
    Replies: 2
    Last Post: July 3rd, 2011, 09:56 AM
  3. marker interfaces
    By anupam0021 in forum Java Theory & Questions
    Replies: 1
    Last Post: April 20th, 2011, 07:53 PM
  4. requir GPS references in java
    By hassan ali in forum Java Theory & Questions
    Replies: 6
    Last Post: July 18th, 2010, 11:34 AM