Use the TelVue app
You can display a Google traffic map in InfoVue, customized to your region. To do this, you would first create the fullscreen map as an item in your Content Library, and then add that to a template.
- First generate the traffic map URL for your area:
- Add your zipcode at the end of the following URL (in this example we’ll use 08054): https://infovue.telvue.com/Apps/trafficMap.html?address=08054
- Preview the map by viewing that URL in any browser
- To zoom in or out of that map, add &zoom= to the end of the string. The larger the number, the more it will zoom in. Zoom=13 is the default, so to zoom in a bit, you would use something like: https://infovue.telvue.com/Apps/trafficMap.html?address=08054&zoom=15
- To zoom out: https://infovue.telvue.com/Apps/trafficMap.html?address=08054&zoom=11
- Then add that URL to the InfoVue Content library
- In the InfoVue UI, Right-click under the Content tab → Add → URL
- Name this map
- Enter the URL from Step 1 to the URL field
- Finally, add that map to a template
- Open a template designer
- To add the traffic map, click on the Media search bar on the right
- Search by name for the traffic map you just created
- Drag the thumbnail on to your template
- Size and position the map
- Add whatever text, shape, other zones you might want to use to label or embellish the map
Note that as of June 11, 2018, Google revised its maps and APIs policies. Many of the map APIs and functions now require an API key, and charges are incurred after a certain number of hits. The TelVue traffic maps URL described above continues to use the freely available APIs that do not require a key.
How to fine tune the center point
Note: If the map center is not precise enough, go to http://maps.google.com and pan and zoom the map until you have the map you want.
After a few seconds of not touching anything, the url will resolve to something of this form: https://firstname.lastname@example.org,-74.9584449,15z
The simplest thing at this point is to not even use the application, but to select traffic from the hamburger menu, and the url will change to https://email@example.com,-74.9584449,15z/data=!5m1!1e1
At this point, you can use this url verbatim as an html element in InfoVue, (without the need to redirect through the TelVue traffic app).
Alternatively, you can extract the lat/lng from the url, and insert it into the InfoVue url above. (The final url for this example would be http://infovue.telvue.com/apps/trafficMap.html?lat=39.928331&lng=-74.9584449&zoom=15.)
It will display the Google search bar, but you can hide this with a Shape (like a title banner) or expand the dimensions of the traffic map “zone” in InfoVue to extend beyond the dimensions of your template.
How to get your own Google Maps API
Here is a link to how to get an API Key:
and how to use Embed API with a key: