BingMapSource

BingMapSource — the class for Bing Maps

Functions

Properties

char * api-key Read / Write / Construct Only
char * hostname Read / Write / Construct Only
char * url Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── VikMapSource
        ╰── VikMapSourceDefault
            ╰── VikSlippyMapSource
                ╰── BingMapSource

Description

The BingMapSource class handles Bing map source.

License and term of use are available here: http://wiki.openstreetmap.org/wiki/File:Bing_license.pdf

Technical details are available here: http://msdn.microsoft.com/en-us/library/dd877180.aspx

Functions

bing_map_source_new_with_id ()

BingMapSource *
bing_map_source_new_with_id (guint16 id,
                             const gchar *label,
                             const gchar *key);

Constructor for Bing map source.

Parameters

id

internal identifier.

 

label

the label to display in map provider selector.

 

key

the API key to access Bing's services.

 

Returns

a newly allocated BingMapSource GObject.

Property Details

The “api-key” property

  “api-key”                  char *

The API key to access Bing.

Owner: BingMapSource

Flags: Read / Write / Construct Only

Default value: "<no-set>"


The “hostname” property

  “hostname”                 char *

The hostname of the map server.

Owner: BingMapSource

Flags: Read / Write / Construct Only

Default value: "<no-set>"


The “url” property

  “url”                      char *

The template of the tiles' URL.

Owner: BingMapSource

Flags: Read / Write / Construct Only

Default value: "<no-set>"