• Hello,

    I'm trying to developp a program that can follow the positons of boats as in the boat tracker tutorial.

    My problem is that I upload the json file with the tracks and when I'm going back on the windy map this isn't uploaded well.

    I use the fetch function like in the tutorial to get the json data.

    I was thinking of a cache problem but, even when I refresh many times the page it seems like randomly showing the new tracks or the old tracks.

    Is there a way to solve this problem ? A way to fully reinit the map each time ?

    Thanks for your help,
    Basile

  • Administrator

    @b-rochut Unfortunately, there is no a simple way how to reinit the whole map.


  • @marekd Thank you for your answer !

    Is this normal that it isn't refreshing well ?

    Is a refresh a new request for the API ?
    And are we 'limited' in the number of refresh/request by minutes maybe ?

    Can it be due to my free API key ?

    Thanks,
    basile

  • Administrator

    @b-rochut I do not know if it is normal or not. Our example works well, as do other websites using our API. I would think you do something wrong. Session is counted only when map is loaded, working with already loaded map is not counted into the session limit. There is only daily limit. Free API works the same way as Professional API, only amount of features is different.

Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps
Terms and Conditions     Privacy Policy