У нас вы можете посмотреть бесплатно Python Live Transit Data on Map on Web Subdomain или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
A rather long video but I wanted to display a map from a Flask App in a subdomain on the web. The map shows the transit route of a bus for Metlink in Wellington NZ and uses the General Transit Feed Specification structure for its API. On the map it shows the route of the bus and the stops along the way. There is a blue pin showing the current location of the current active bus on the route that is updated every 5 seconds and that can be paused/toggled by a button and also there is a button for getting the time for the next bus that is going to a specific destination. In the video it walks through the API and the process for setting up the scripts as well as setting the app up on a subdomain on my VPS (Virtual Private Server) on windows with IIS. Discussion of conflict with having 2 flasks apps running simultaneously on the same domain and ways to resolve the issue (mne was to combine the 2 apps) References were made to the following links: My Map -https://c.pir2.tk/ Google Map API- https://www.youtube.com/results?searc... Metlink- https://www.metlink.org.nz/journey-op... Metlink Developers portal- https://opendata.metlink.org.nz/getti... General Transit Feed Specification https://gtfs.org/resources/ http://web2py.com/ https://www.pythonanywhere.com Here is link to the files: https://drive.google.com/drive/folder... NOTE: The scripts wont work as they require: 1/ A google s Map API key 2/ A Metlink Developers API key. You will need to obtain these first to be able host & to run the app. I hope this is of help to you, if so, can you please give a thumbs up for the video. Muchas Gracias Please visit my blog for similar topics: https://cr8ive.tk Kind regards, Max Drake