Listener Map

 

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

Configurable Options

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>

CSS

Developers familiar with cascading stylesheets (CSS) may embed in their pages a stylesheet similar to the following to customize the appearance of the widget:

 

/* Container element for the map */
.cc_gmaps_map {
}
  • 0 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

Widgets

Centova Cast provides a number of widgets which you can include in your own web pages to display...

Stream Status Summary

  The Stream Status Summary widget displays a brief line of information about the current status...

Stream Details

  The Stream Details widget is a more flexible version of the Stream Status Summary widget, and...

Song Requests

  The Song Requests widget displays a form allowing your visitors to submit song requests....

Tune In

  The Tune In widget is not actually a widget, but rather just a collection of tune-in links for...

Powered by WHMCompleteSolution