Listener Map Widget Customization

Listener Map

About the Widget

The Listener Map widget displays an interactive map, powered by the Google Maps mapping service, on which the geographic locations of your listeners and your stream are plotted.

This widget can be configured on the Widgets tab of the Configuration Settings page.

Advanced Customization

Developers familiar with JavaScript may embed in their pages a code block similar to the following to customize the behavior of the widget.

This configuration block must appear before the JavaScript code for the widget.

<script language="javascript">
(function(){ var centovacast = (window.centovacast||(window.centovacast={}));
(centovacast.googlemaps||(centovacast.googlemaps={})).config = {

    show_server_location: true, // specify whether to plot server location on map
    server_location: null,      // textual name of server location (eg: city)
    server_country_code: null   // country code to display flag at server location

};})();
</script>
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Stream Status Summary Widget Customization

Stream Status Summary About the Widget The Stream Status Summary widget displays a brief line...

Recent Tracks Widget Customization

Recent Tracks About the Widget The Recent Tracks widget displays a list of the tracks that were...

Stream Details Widget Customization

Stream Details About the Widget The Stream Details widget is a more flexible version of the...

Embedded Web player Widget Customization

Web Player About the Widget The Web Player widget provides a web-based media player that your...