VikGotoTool

VikGotoTool

Functions

Properties

guint id Read / Write / Construct Only
char * label Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── VikGotoTool
        ├── GoogleGotoTool
        ╰── VikGotoXmlTool

Description

Functions

vik_goto_tool_get_label ()

gchar *
vik_goto_tool_get_label (VikGotoTool *self);

vik_goto_tool_parse_file_for_latlon ()

gboolean
vik_goto_tool_parse_file_for_latlon (VikGotoTool *self,
                                     gchar *filename,
                                     struct LatLon *ll);

vik_goto_tool_get_coord ()

int
vik_goto_tool_get_coord (VikGotoTool *self,
                         VikViewport *vvp,
                         gchar *srch_str,
                         VikCoord *coord);

self : The VikGotoTool vvp : The VikViewport srch_str : The string to search with coord : Returns the top match position for a successful search

Returns

An integer value indicating: 0 = search found something -1 = search place not found by the VikGotoTool 1 = search unavailable in the VikGotoTool due to communication issue

Types and Values

VIK_GOTO_TOOL_TYPE

#define VIK_GOTO_TOOL_TYPE            (vik_goto_tool_get_type ())

Property Details

The “id” property

  “id”                       guint

Set the id.

Owner: VikGotoTool

Flags: Read / Write / Construct Only

Allowed values: <= 65535

Default value: 0


The “label” property

  “label”                    char *

Set the label.

Owner: VikGotoTool

Flags: Read / Write / Construct Only

Default value: "<no-set>"