NetworkTileSource
Object Hierarchy:
Description:
[
CCode ( type_id =
"champlain_network_tile_source_get_type ()" ) ]
[
Version ( since =
"0.6" ) ]
public class NetworkTileSource :
TileSource
The NetworkTileSource structure contains only private data and should be accessed using the provided API
Content:
Properties:
- public int max_conns { get; set; }
Specifies the max number of allowed simultaneous connections for this
tile source.
- public bool offline { get; set; }
Specifies whether the network tile source can access network
- public string proxy_uri { get; set; }
Used to override the default proxy for accessing the network.
- public string uri_format { get; set construct; }
- public string user_agent { set; }
The HTTP user agent used for requests
Creation methods:
Methods:
- public int get_max_conns ()
Gets the max number of allowed simultaneous connections for this tile
source.
- public bool get_offline ()
Gets offline status.
- public unowned string get_proxy_uri ()
Gets the proxy uri used to access network.
- public unowned string get_uri_format ()
Default constructor of NetworkTileSource.
- public void set_max_conns (int max_conns)
Sets the max number of allowed simultaneous connections for this tile
source.
- public void set_offline (bool offline)
Sets offline status.
- public void set_proxy_uri (string proxy_uri)
Override the default proxy for accessing the network.
- public void set_uri_format (string uri_format)
A URI format is a URI where x, y and zoom level information have been
marked for parsing and insertion.
- public void set_user_agent (string user_agent)
Sets the User-Agent header used communicating with the server.
Inherited Members:
All known members inherited from class Champlain.TileSource
All known members inherited from class Champlain.MapSource
All known members inherited from class GLib.Object