Top |
void | osm_gps_map_layer_render () |
void | osm_gps_map_layer_draw () |
gboolean | osm_gps_map_layer_busy () |
gboolean | osm_gps_map_layer_button_press () |
OsmGpsMapOsd * | osm_gps_map_osd_new () |
guint | dpad-radius | Read / Write / Construct |
gint | osd-x | Read / Write / Construct |
gint | osd-y | Read / Write / Construct |
gboolean | show-coordinates | Read / Write / Construct |
gboolean | show-copyright | Read / Write / Construct |
gboolean | show-crosshair | Read / Write / Construct |
gboolean | show-dpad | Read / Write / Construct |
gboolean | show-gps-in-dpad | Read / Write / Construct |
gboolean | show-gps-in-zoom | Read / Write / Construct |
gboolean | show-scale | Read / Write / Construct |
gboolean | show-zoom | Read / Write / Construct |
OsmGpsMapLayer is an interface implemented by objects that wish to draw on top of the map respond to button press events. The most common implementation of this interface is OsmGpsMapOsd
void osm_gps_map_layer_render (OsmGpsMapLayer *self
,OsmGpsMap *map
);
Render layer on map
Since: 0.6.0
void osm_gps_map_layer_draw (OsmGpsMapLayer *self
,OsmGpsMap *map
,cairo_t *cr
);
Draw layer on map
self |
a OsmGpsMapLayer object. |
[in] |
map |
a OsmGpsMap widget. |
[in] |
cr |
a cairo context to draw to. |
[in] |
Since: 0.6.0
gboolean
osm_gps_map_layer_busy (OsmGpsMapLayer *self
);
Check whether layer is busy (eg drawing an animation)
Since: 0.6.0
gboolean osm_gps_map_layer_button_press (OsmGpsMapLayer *self
,OsmGpsMap *map
,GdkEventButton *event
);
Handle button event
self |
a OsmGpsMapLayer object. |
[in] |
map |
a OsmGpsMap widget. |
[in] |
event |
a GdkEventButton event. |
[in] |
Since: 0.6.0
OsmGpsMapOsd *
osm_gps_map_osd_new (void
);
Creates a new instance of OsmGpsMapOsd.
“dpad-radius”
property “dpad-radius” guint
The dpad radius property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: 30
“osd-x”
property “osd-x” gint
The osd x property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: 10
“osd-y”
property “osd-y” gint
The osd y property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: 10
“show-coordinates”
property “show-coordinates” gboolean
The show coordinates of map centre property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: TRUE
“show-copyright”
property “show-copyright” gboolean
The show copyright property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: TRUE
Since: 1.2.0
“show-crosshair”
property “show-crosshair” gboolean
The show crosshair at map centre property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: FALSE
“show-dpad”
property “show-dpad” gboolean
The show dpad for map navigation property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: FALSE
“show-gps-in-dpad”
property “show-gps-in-dpad” gboolean
The show gps indicator in middle of dpad property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: FALSE
“show-gps-in-zoom”
property “show-gps-in-zoom” gboolean
The show gps indicator in middle of zoom control property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: FALSE
“show-scale”
property “show-scale” gboolean
The show scale on the map property.
Owner: OsmGpsMapOsd
Flags: Read / Write / Construct
Default value: TRUE