estatefert.blogg.se

Go mdot traffic
Go mdot traffic








go mdot traffic

OpenLayers is an open-source library for displaying maps in web browsers. So I started looking for alternatives and ended up with OpenLayers. You have to put restrictions on your API key so that it only can be used from a particular client url for example – otherwise anyone can use the key that is connected to your billing account. This is an easy-to-use API, but as you do need to provide an API-key when accessing it, it is a bit cumbersome to include in open-source projects. I’ve used the Google Maps API for geolocation data in some previous projects. You can fetch a paged message collection for the whole country or fetch the messages for a particular geographical area. Each message is tagged with location, priority, category and some other details. The traffic information API from Swedish Radio returns messages with information on current traffic disruptions in Sweden for roads and public transports.

#Go mdot traffic code#

A demo of the application is available at and the source code can be fetched from GitHub. That API also provides traffic message information and this blog post describes a separate web app for working with this data and using OpenLayers for displaying the traffic information on a map with OpenStreetMap. In my previous post I outlined the development of a web app that uses the Open API from Swedish Radio for working with channels, programs and episodes.










Go mdot traffic