SourceForge has been redesigned. Learn more.
Close

AutoUpdate MAP

Help
tea4two
2008-05-22
2013-06-12
  • tea4two

    tea4two - 2008-05-22

    There is a way to choice a timer and start AutoUpdate map instead to click on the UpdateMap button ?

    It seems that TrackMap.java use a function called startAutoUpdateMapTimer, It works in this way ?

    Regrads
    Pierluigi Bucolo

     
    • Martin Flynn

      Martin Flynn - 2008-05-22

      Hi Pierluigi,
      Take a look at the MapProvider section in 'private.xml'.
      You can define "auto.enable", "auto.interval" and "auto.count" properties
      to enable this features.
      Thanks,
      - Martin

       
    • tea4two

      tea4two - 2008-05-22

      Hi Martin, thanks for your fast response.

      I've tried this features and it's what i'm looking for,but....
      After a short period AutoRefresh stop.
      I've tried to left remarked the row with "auto.count" properties, but doesn't change.

      There is a parameter to make AutoUpdate endless or I need to modify java code ?

      Regards
      Pierluigi

       
    • Martin Flynn

      Martin Flynn - 2008-05-22

      Hi Pierluigi,
      Specifying "0" for the "auto.count" will disable the auto update count limit.
      When "auto.count" is not specified, the default is about "20". 
      This is designed specifically this way to make sure the devloper/administrator
      is aware that the "auto.count" limit feature has been disabled (due to the
      potential of increased mapping service fees, and system load, when used in
      a commercial environment).
      Regards,
      - Martin

       
    • Pollenfresser

      Pollenfresser - 2008-06-03

      Hi Martin,
      was there a change in the described behaviour from version 1.7.0 to 1.8.2?

      I am using the following settings in 1.7.0:
      auto=true
      auto-interval=15
      auto-count=0

      and the follwoing settings in 1.8.2:
      auto.enable=true
      auto.interval=15
      auto.count=0

      When using version 1.7.0 I get the "Start AutoUpdate" button and the map is auto-updated as expected.
      But versions 1.8.2 shows the "Update" button (manual update)instead.

      Thanks,
      Peter

       
    • Martin Flynn

      Martin Flynn - 2008-06-04

      Hi Peter,
      It looks like in v1.8.0/1/2, that it requires that 'auto.count' must be greater than '0'.
      '0' should be a valid value that indicates an unlimited number of updates.  This will
      be fixed in the next release.  For now, you can set this to a large integer value, to
      essentially create an unlimited update sequence.  Let me know if this solves this issue.
      Thanks for finding this.
      Best Regards,
      - Martin

       
    • Pollenfresser

      Pollenfresser - 2008-06-04

      Hi Martin,
      I set it to auto.count=9999 now it it seems to work now.

      Thank you very much.
      Peter

       
  • Anonymous

    Anonymous - 2013-02-05

    One simple way is to add html tag to refresh automatically.

     

Log in to post a comment.