/usr/share/gtk-doc/html/libosmgpsmap/OsmGpsMap.html is in libosmgpsmap-1.0-dev 1.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OsmGpsMap: OsmGpsMap Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="OsmGpsMap Reference Manual">
<link rel="up" href="api-reference.html" title="API Reference">
<link rel="prev" href="api-reference.html" title="API Reference">
<link rel="next" href="OsmGpsMapLayer.html" title="OsmGpsMapLayer">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#OsmGpsMap.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#OsmGpsMap.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
<a href="#OsmGpsMap.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
<a href="#OsmGpsMap.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
<a href="#OsmGpsMap.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="api-reference.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="api-reference.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="OsmGpsMapLayer.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="OsmGpsMap"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="OsmGpsMap.top_of_page"></a>OsmGpsMap</span></h2>
<p>OsmGpsMap — The map display widget</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="OsmGpsMap.stability-level"></a><h2>Stability Level</h2>
<acronym title="The intention of a Stable interface is to enable arbitrary third parties to
develop applications to these interfaces, release them, and have confidence that
they will run on all minor releases of the product (after the one in which the
interface was introduced, and within the same major release). Even at a major
release, incompatible changes are expected to be rare, and to have strong
justifications.
"><span class="acronym">Stable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="OsmGpsMap.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-INVALID:CAPS" title="OSM_GPS_MAP_INVALID">OSM_GPS_MAP_INVALID</a></td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-get-default-cache-directory" title="osm_gps_map_get_default_cache_directory ()">osm_gps_map_get_default_cache_directory</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-source-get-friendly-name" title="osm_gps_map_source_get_friendly_name ()">osm_gps_map_source_get_friendly_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-source-get-repo-uri" title="osm_gps_map_source_get_repo_uri ()">osm_gps_map_source_get_repo_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-source-get-image-format" title="osm_gps_map_source_get_image_format ()">osm_gps_map_source_get_image_format</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-source-get-min-zoom" title="osm_gps_map_source_get_min_zoom ()">osm_gps_map_source_get_min_zoom</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-source-get-max-zoom" title="osm_gps_map_source_get_max_zoom ()">osm_gps_map_source_get_max_zoom</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-source-is-valid" title="osm_gps_map_source_is_valid ()">osm_gps_map_source_is_valid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GtkWidget</span> *
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-new" title="osm_gps_map_new ()">osm_gps_map_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-download-maps" title="osm_gps_map_download_maps ()">osm_gps_map_download_maps</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-download-cancel-all" title="osm_gps_map_download_cancel_all ()">osm_gps_map_download_cancel_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-get-bbox" title="osm_gps_map_get_bbox ()">osm_gps_map_get_bbox</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-set-center" title="osm_gps_map_set_center ()">osm_gps_map_set_center</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-set-center-and-zoom" title="osm_gps_map_set_center_and_zoom ()">osm_gps_map_set_center_and_zoom</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-set-zoom" title="osm_gps_map_set_zoom ()">osm_gps_map_set_zoom</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-zoom-in" title="osm_gps_map_zoom_in ()">osm_gps_map_zoom_in</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-zoom-out" title="osm_gps_map_zoom_out ()">osm_gps_map_zoom_out</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-scroll" title="osm_gps_map_scroll ()">osm_gps_map_scroll</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">float</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-get-scale" title="osm_gps_map_get_scale ()">osm_gps_map_get_scale</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-set-keyboard-shortcut" title="osm_gps_map_set_keyboard_shortcut ()">osm_gps_map_set_keyboard_shortcut</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsmGpsMapPoint.html" title="OsmGpsMapPoint"><span class="returnvalue">OsmGpsMapPoint</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-get-event-location" title="osm_gps_map_get_event_location ()">osm_gps_map_get_event_location</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-convert-geographic-to-screen" title="osm_gps_map_convert_geographic_to_screen ()">osm_gps_map_convert_geographic_to_screen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-convert-screen-to-geographic" title="osm_gps_map_convert_screen_to_geographic ()">osm_gps_map_convert_screen_to_geographic</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-gps-add" title="osm_gps_map_gps_add ()">osm_gps_map_gps_add</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-gps-clear" title="osm_gps_map_gps_clear ()">osm_gps_map_gps_clear</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsmGpsMapTrack.html" title="OsmGpsMapTrack"><span class="returnvalue">OsmGpsMapTrack</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-gps-get-track" title="osm_gps_map_gps_get_track ()">osm_gps_map_gps_get_track</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-track-add" title="osm_gps_map_track_add ()">osm_gps_map_track_add</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-track-remove" title="osm_gps_map_track_remove ()">osm_gps_map_track_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-track-remove-all" title="osm_gps_map_track_remove_all ()">osm_gps_map_track_remove_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsmGpsMapImage.html" title="OsmGpsMapImage"><span class="returnvalue">OsmGpsMapImage</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-image-add" title="osm_gps_map_image_add ()">osm_gps_map_image_add</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsmGpsMapImage.html" title="OsmGpsMapImage"><span class="returnvalue">OsmGpsMapImage</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-image-add-with-alignment" title="osm_gps_map_image_add_with_alignment ()">osm_gps_map_image_add_with_alignment</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-image-remove" title="osm_gps_map_image_remove ()">osm_gps_map_image_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-image-remove-all" title="osm_gps_map_image_remove_all ()">osm_gps_map_image_remove_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-layer-add" title="osm_gps_map_layer_add ()">osm_gps_map_layer_add</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-layer-remove" title="osm_gps_map_layer_remove ()">osm_gps_map_layer_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsmGpsMap.html#osm-gps-map-layer-remove-all" title="osm_gps_map_layer_remove_all ()">osm_gps_map_layer_remove_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsmGpsMap.properties"></a><h2>Properties</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--auto-center" title="The “auto-center” property">auto-center</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gfloat</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--auto-center-threshold" title="The “auto-center-threshold” property">auto-center-threshold</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--auto-download" title="The “auto-download” property">auto-download</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--drag-limit" title="The “drag-limit” property">drag-limit</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--gps-track-highlight-radius" title="The “gps-track-highlight-radius” property">gps-track-highlight-radius</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--gps-track-point-radius" title="The “gps-track-point-radius” property">gps-track-point-radius</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gfloat</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--gps-track-width" title="The “gps-track-width” property">gps-track-width</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--image-format" title="The “image-format” property">image-format</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gfloat</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--latitude" title="The “latitude” property">latitude</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gfloat</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--longitude" title="The “longitude” property">longitude</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--map-source" title="The “map-source” property">map-source</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--map-x" title="The “map-x” property">map-x</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--map-y" title="The “map-y” property">map-y</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--max-zoom" title="The “max-zoom” property">max-zoom</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--min-zoom" title="The “min-zoom” property">min-zoom</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--proxy-uri" title="The “proxy-uri” property">proxy-uri</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--record-trip-history" title="The “record-trip-history” property">record-trip-history</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--repo-uri" title="The “repo-uri” property">repo-uri</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--show-gps-point" title="The “show-gps-point” property">show-gps-point</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--show-trip-history" title="The “show-trip-history” property">show-trip-history</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--tile-cache" title="The “tile-cache” property">tile-cache</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--tile-cache-base" title="The “tile-cache-base” property">tile-cache-base</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--tile-zoom-offset" title="The “tile-zoom-offset” property">tile-zoom-offset</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--tiles-queued" title="The “tiles-queued” property">tiles-queued</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap--zoom" title="The “zoom” property">zoom</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsmGpsMap.signals"></a><h2>Signals</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody><tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap-changed" title="The “changed” signal">changed</a></td>
<td class="signal_flags">Run First</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsmGpsMap.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="OsmGpsMap.html#OsmGpsMap-struct" title="struct OsmGpsMap">OsmGpsMap</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="OsmGpsMap.html#OsmGpsMapClass" title="struct OsmGpsMapClass">OsmGpsMapClass</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-DISABLED:CAPS" title="OSM_GPS_MAP_CACHE_DISABLED">OSM_GPS_MAP_CACHE_DISABLED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-AUTO:CAPS" title="OSM_GPS_MAP_CACHE_AUTO">OSM_GPS_MAP_CACHE_AUTO</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-FRIENDLY:CAPS" title="OSM_GPS_MAP_CACHE_FRIENDLY">OSM_GPS_MAP_CACHE_FRIENDLY</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="OsmGpsMap.html#OsmGpsMapSource-t" title="enum OsmGpsMapSource_t">OsmGpsMapSource_t</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="OsmGpsMap.html#OsmGpsMapKey-t" title="enum OsmGpsMapKey_t">OsmGpsMapKey_t</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsmGpsMap.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> GObject
<span class="lineart">╰──</span> GInitiallyUnowned
<span class="lineart">╰──</span> GtkWidget
<span class="lineart">╰──</span> GtkDrawingArea
<span class="lineart">╰──</span> OsmGpsMap
</pre>
</div>
<div class="refsect1">
<a name="OsmGpsMap.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
OsmGpsMap implements
AtkImplementorIface and GtkBuildable.</p>
</div>
<div class="refsect1">
<a name="OsmGpsMap.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <osm-gps-map.h>
</pre>
</div>
<div class="refsect1">
<a name="OsmGpsMap.description"></a><h2>Description</h2>
<p><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> is a widget for displaying a map, optionally overlaid with a
track(s) of GPS co-ordinates, images, points of interest or on screen display
controls. <a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> downloads (and caches for offline use) map data from a
number of websites, including</p>
<a class="ulink" href="http://www.openstreetmap.org" target="_top"><em class="citetitle">OpenStreetMap</em></a><div class="example">
<a name="id-1.2.2.11.4"></a><p class="title"><b>Example 1. Showing a map</b></p>
<div class="example-contents">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">int</span> <span class="function">main</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">int</span> argc<span class="gtkdoc opt">,</span> <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">**</span>argv<span class="gtkdoc opt">)</span>
<span class="gtkdoc opt">{</span>
<span class="function">g_thread_init</span><span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">);</span>
<span class="function">gtk_init</span> <span class="gtkdoc opt">(&</span>argc<span class="gtkdoc opt">, &</span>argv<span class="gtkdoc opt">);</span>
GtkWidget <span class="gtkdoc opt">*</span>map <span class="gtkdoc opt">=</span> <span class="function"><a href="OsmGpsMap.html#osm-gps-map-new">osm_gps_map_new</a></span> <span class="gtkdoc opt">();</span>
GtkWidget <span class="gtkdoc opt">*</span>w <span class="gtkdoc opt">=</span> <span class="function">gtk_window_new</span> <span class="gtkdoc opt">(</span>GTK_WINDOW_TOPLEVEL<span class="gtkdoc opt">);</span>
<span class="function">gtk_container_add</span> <span class="gtkdoc opt">(</span><span class="function">GTK_CONTAINER</span><span class="gtkdoc opt">(</span>w<span class="gtkdoc opt">),</span> map<span class="gtkdoc opt">);</span>
<span class="function">gtk_widget_show_all</span> <span class="gtkdoc opt">(</span>w<span class="gtkdoc opt">);</span>
<span class="function">gtk_main</span> <span class="gtkdoc opt">();</span>
<span class="keyword">return</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
<span class="gtkdoc opt">}</span></pre></td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="example-break"><p><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> allows great flexibility in customizing how the map tiles are
cached, see <a class="link" href="OsmGpsMap.html#OsmGpsMap--tile-cache-base" title="The “tile-cache-base” property"><span class="type">“tile-cache-base”</span></a> and <a class="link" href="OsmGpsMap.html#OsmGpsMap--tile-cache" title="The “tile-cache” property"><span class="type">“tile-cache”</span></a> for more
information.</p>
<p>A number of different map sources are supported, see <a class="link" href="OsmGpsMap.html#OsmGpsMapSource-t" title="enum OsmGpsMapSource_t"><span class="type">OsmGpsMapSource_t</span></a>. The
default source, <a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-SOURCE-OPENSTREETMAP:CAPS"><code class="literal">OSM_GPS_MAP_SOURCE_OPENSTREETMAP</code></a> always works. Other sources,
particular those from proprietary providers may work occasionally, and then
cease to work. To check if a source is supported for the given version of
this library, call <a class="link" href="OsmGpsMap.html#osm-gps-map-source-is-valid" title="osm_gps_map_source_is_valid ()"><code class="function">osm_gps_map_source_is_valid()</code></a>.</p>
<div class="example">
<a name="id-1.2.2.11.7"></a><p class="title"><b>Example 2. Map with custom source and cache dir</b></p>
<div class="example-contents">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">int</span> <span class="function">main</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">int</span> argc<span class="gtkdoc opt">,</span> <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">**</span>argv<span class="gtkdoc opt">)</span>
<span class="gtkdoc opt">{</span>
<span class="function">g_thread_init</span><span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">);</span>
<span class="function">gtk_init</span> <span class="gtkdoc opt">(&</span>argc<span class="gtkdoc opt">, &</span>argv<span class="gtkdoc opt">);</span>
OsmGpsMapSource_t source <span class="gtkdoc opt">=</span> OSM_GPS_MAP_SOURCE_VIRTUAL_EARTH_SATELLITE<span class="gtkdoc opt">;</span>
<span class="keyword">if</span> <span class="gtkdoc opt">( !</span><span class="function"><a href="OsmGpsMap.html#osm-gps-map-source-is-valid">osm_gps_map_source_is_valid</a></span><span class="gtkdoc opt">(</span>source<span class="gtkdoc opt">) )</span>
<span class="keyword">return</span> <span class="number">1</span><span class="gtkdoc opt">;</span>
GtkWidget <span class="gtkdoc opt">*</span>map <span class="gtkdoc opt">=</span> <span class="function">g_object_new</span> <span class="gtkdoc opt">(</span>OSM_TYPE_GPS_MAP<span class="gtkdoc opt">,</span>
<span class="string">"map-source"</span><span class="gtkdoc opt">,</span> source<span class="gtkdoc opt">,</span>
<span class="string">"tile-cache"</span><span class="gtkdoc opt">,</span> <span class="string">"/tmp/"</span><span class="gtkdoc opt">,</span>
NULL<span class="gtkdoc opt">);</span>
GtkWidget <span class="gtkdoc opt">*</span>w <span class="gtkdoc opt">=</span> <span class="function">gtk_window_new</span> <span class="gtkdoc opt">(</span>GTK_WINDOW_TOPLEVEL<span class="gtkdoc opt">);</span>
<span class="function">gtk_container_add</span> <span class="gtkdoc opt">(</span><span class="function">GTK_CONTAINER</span><span class="gtkdoc opt">(</span>w<span class="gtkdoc opt">),</span> map<span class="gtkdoc opt">);</span>
<span class="function">gtk_widget_show_all</span> <span class="gtkdoc opt">(</span>w<span class="gtkdoc opt">);</span>
<span class="function">gtk_main</span> <span class="gtkdoc opt">();</span>
<span class="keyword">return</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
<span class="gtkdoc opt">}</span></pre></td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="example-break"><p>Finally, if you wish to use a custom map source not supported by <a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a>,
such as a custom map created with</p>
<a class="ulink" href="http://www.cloudmade.com" target="_top"><em class="citetitle">CloudMade</em></a><p>then you can also pass a specially formatted string to <a class="link" href="OsmGpsMap.html#OsmGpsMap--repo-uri" title="The “repo-uri” property"><span class="type">“repo-uri”</span></a>.</p>
<div class="example">
<a name="id-1.2.2.11.11"></a><p class="title"><b>Example 3. Map using custom CloudMade map and on screen display</b></p>
<div class="example-contents">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">int</span> <span class="function">main</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">int</span> argc<span class="gtkdoc opt">,</span> <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">**</span>argv<span class="gtkdoc opt">)</span>
<span class="gtkdoc opt">{</span>
<span class="function">g_thread_init</span><span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">);</span>
<span class="function">gtk_init</span> <span class="gtkdoc opt">(&</span>argc<span class="gtkdoc opt">, &</span>argv<span class="gtkdoc opt">);</span>
<span class="gtkdoc kwb">const</span> gchar <span class="gtkdoc opt">*</span>cloudmate <span class="gtkdoc opt">=</span> <span class="string">"http://a.tile.cloudmade.com/YOUR_API_KEY/1/256/#Z/#X/#Y.png"</span><span class="gtkdoc opt">;</span>
GtkWidget <span class="gtkdoc opt">*</span>map <span class="gtkdoc opt">=</span> <span class="function">g_object_new</span> <span class="gtkdoc opt">(</span>OSM_TYPE_GPS_MAP<span class="gtkdoc opt">,</span>
<span class="string">"repo-uri"</span><span class="gtkdoc opt">,</span> cloudmate<span class="gtkdoc opt">,</span>
NULL<span class="gtkdoc opt">);</span>
OsmGpsMapOsd <span class="gtkdoc opt">*</span>osd <span class="gtkdoc opt">=</span> <span class="function"><a href="OsmGpsMapLayer.html#osm-gps-map-osd-new">osm_gps_map_osd_new</a></span> <span class="gtkdoc opt">();</span>
GtkWidget <span class="gtkdoc opt">*</span>w <span class="gtkdoc opt">=</span> <span class="function">gtk_window_new</span> <span class="gtkdoc opt">(</span>GTK_WINDOW_TOPLEVEL<span class="gtkdoc opt">);</span>
<span class="function"><a href="OsmGpsMap.html#osm-gps-map-layer-add">osm_gps_map_layer_add</a></span> <span class="gtkdoc opt">(</span><span class="function">OSM_GPS_MAP</span><span class="gtkdoc opt">(</span>map<span class="gtkdoc opt">),</span> <span class="function">OSM_GPS_MAP_LAYER</span><span class="gtkdoc opt">(</span>osd<span class="gtkdoc opt">));</span>
<span class="function">gtk_container_add</span> <span class="gtkdoc opt">(</span><span class="function">GTK_CONTAINER</span><span class="gtkdoc opt">(</span>w<span class="gtkdoc opt">),</span> map<span class="gtkdoc opt">);</span>
<span class="function">gtk_widget_show_all</span> <span class="gtkdoc opt">(</span>w<span class="gtkdoc opt">);</span>
<span class="function">gtk_main</span> <span class="gtkdoc opt">();</span>
<span class="keyword">return</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
<span class="gtkdoc opt">}</span></pre></td>
</tr>
</tbody>
</table>
</div>
</div>
<br class="example-break">
</div>
<div class="refsect1">
<a name="OsmGpsMap.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="OSM-GPS-MAP-INVALID:CAPS"></a><h3>OSM_GPS_MAP_INVALID</h3>
<pre class="programlisting">#define OSM_GPS_MAP_INVALID (0.0/0.0)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-get-default-cache-directory"></a><h3>osm_gps_map_get_default_cache_directory ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *
osm_gps_map_get_default_cache_directory
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.2.12.3.4"></a><h4>Returns</h4>
<p> the default cache directory for the library, that is the base
directory to which the full cache path is appended. If
<a class="link" href="OsmGpsMap.html#OsmGpsMap--tile-cache-base" title="The “tile-cache-base” property"><span class="type">“tile-cache-base”</span></a> is omitted from the constructor then this value
is used.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-source-get-friendly-name"></a><h3>osm_gps_map_source_get_friendly_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
osm_gps_map_source_get_friendly_name (<em class="parameter"><code><a class="link" href="OsmGpsMap.html#OsmGpsMapSource-t" title="enum OsmGpsMapSource_t"><span class="type">OsmGpsMapSource_t</span></a> source</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-source-get-repo-uri"></a><h3>osm_gps_map_source_get_repo_uri ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
osm_gps_map_source_get_repo_uri (<em class="parameter"><code><a class="link" href="OsmGpsMap.html#OsmGpsMapSource-t" title="enum OsmGpsMapSource_t"><span class="type">OsmGpsMapSource_t</span></a> source</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-source-get-image-format"></a><h3>osm_gps_map_source_get_image_format ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
osm_gps_map_source_get_image_format (<em class="parameter"><code><a class="link" href="OsmGpsMap.html#OsmGpsMapSource-t" title="enum OsmGpsMapSource_t"><span class="type">OsmGpsMapSource_t</span></a> source</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-source-get-min-zoom"></a><h3>osm_gps_map_source_get_min_zoom ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
osm_gps_map_source_get_min_zoom (<em class="parameter"><code><a class="link" href="OsmGpsMap.html#OsmGpsMapSource-t" title="enum OsmGpsMapSource_t"><span class="type">OsmGpsMapSource_t</span></a> source</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-source-get-max-zoom"></a><h3>osm_gps_map_source_get_max_zoom ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
osm_gps_map_source_get_max_zoom (<em class="parameter"><code><a class="link" href="OsmGpsMap.html#OsmGpsMapSource-t" title="enum OsmGpsMapSource_t"><span class="type">OsmGpsMapSource_t</span></a> source</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-source-is-valid"></a><h3>osm_gps_map_source_is_valid ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
osm_gps_map_source_is_valid (<em class="parameter"><code><a class="link" href="OsmGpsMap.html#OsmGpsMapSource-t" title="enum OsmGpsMapSource_t"><span class="type">OsmGpsMapSource_t</span></a> source</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-new"></a><h3>osm_gps_map_new ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *
osm_gps_map_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns a new <a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> object, defaults to showing data from</p>
<a class="ulink" href="http://www.openstreetmap.org" target="_top"><em class="citetitle">OpenStreetMap</em></a><p>See the properties description for more information about construction
parameters than could be passed to <code class="function">g_object_new()</code></p>
<div class="refsect3">
<a name="id-1.2.2.12.10.7"></a><h4>Returns</h4>
<p> a newly created <a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> object.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-download-maps"></a><h3>osm_gps_map_download_maps ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_download_maps (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapPoint.html" title="OsmGpsMapPoint"><span class="type">OsmGpsMapPoint</span></a> *pt1</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapPoint.html" title="OsmGpsMapPoint"><span class="type">OsmGpsMapPoint</span></a> *pt2</code></em>,
<em class="parameter"><code><span class="type">int</span> zoom_start</code></em>,
<em class="parameter"><code><span class="type">int</span> zoom_end</code></em>);</pre>
<p>Downloads all tiles over the supplied zoom range in the rectangular
region specified by pt1 (north west corner) to pt2 (south east corner)</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-download-cancel-all"></a><h3>osm_gps_map_download_cancel_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_download_cancel_all (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>);</pre>
<p>Cancels all tiles currently being downloaded. Typically used if you wish to
cacel a large number of tiles queued using <a class="link" href="OsmGpsMap.html#osm-gps-map-download-maps" title="osm_gps_map_download_maps ()"><code class="function">osm_gps_map_download_maps()</code></a></p>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-get-bbox"></a><h3>osm_gps_map_get_bbox ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_get_bbox (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapPoint.html" title="OsmGpsMapPoint"><span class="type">OsmGpsMapPoint</span></a> *pt1</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapPoint.html" title="OsmGpsMapPoint"><span class="type">OsmGpsMapPoint</span></a> *pt2</code></em>);</pre>
<p>Returns the geographic locations of the bounding box describing the contents
of the current window, i.e the top left and bottom right corners.</p>
<div class="refsect3">
<a name="id-1.2.2.12.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pt1</p></td>
<td class="parameter_description"><p> point to be filled with the top left location. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>pt2</p></td>
<td class="parameter_description"><p> point to be filled with the bottom right location. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-set-center"></a><h3>osm_gps_map_set_center ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_set_center (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><span class="type">float</span> latitude</code></em>,
<em class="parameter"><code><span class="type">float</span> longitude</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-set-center-and-zoom"></a><h3>osm_gps_map_set_center_and_zoom ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_set_center_and_zoom (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><span class="type">float</span> latitude</code></em>,
<em class="parameter"><code><span class="type">float</span> longitude</code></em>,
<em class="parameter"><code><span class="type">int</span> zoom</code></em>);</pre>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-set-zoom"></a><h3>osm_gps_map_set_zoom ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
osm_gps_map_set_zoom (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><span class="type">int</span> zoom</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-zoom-in"></a><h3>osm_gps_map_zoom_in ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
osm_gps_map_zoom_in (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-zoom-out"></a><h3>osm_gps_map_zoom_out ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
osm_gps_map_zoom_out (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-scroll"></a><h3>osm_gps_map_scroll ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_scroll (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><span class="type">gint</span> dx</code></em>,
<em class="parameter"><code><span class="type">gint</span> dy</code></em>);</pre>
<p>Scrolls the map by <em class="parameter"><code>dx</code></em>
, <em class="parameter"><code>dy</code></em>
pixels (positive north, east)</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-get-scale"></a><h3>osm_gps_map_get_scale ()</h3>
<pre class="programlisting"><span class="returnvalue">float</span>
osm_gps_map_get_scale (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.2.12.20.4"></a><h4>Returns</h4>
<p> the scale of the map at the center, in meters/pixel.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-set-keyboard-shortcut"></a><h3>osm_gps_map_set_keyboard_shortcut ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_set_keyboard_shortcut (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMap.html#OsmGpsMapKey-t" title="enum OsmGpsMapKey_t"><span class="type">OsmGpsMapKey_t</span></a> key</code></em>,
<em class="parameter"><code><span class="type">guint</span> keyval</code></em>);</pre>
<p>Associates a keyboard shortcut with the supplied <em class="parameter"><code>keyval</code></em>
(as returned by <span class="type">gdk_keyval_from_name</span> or simiar). The action given in <em class="parameter"><code>key</code></em>
will be triggered when the corresponding <em class="parameter"><code>keyval</code></em>
is pressed. By default
no keyboard shortcuts are associated.</p>
<div class="refsect3">
<a name="id-1.2.2.12.21.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>a <a class="link" href="OsmGpsMap.html#OsmGpsMapKey-t" title="enum OsmGpsMapKey_t"><span class="type">OsmGpsMapKey_t</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-get-event-location"></a><h3>osm_gps_map_get_event_location ()</h3>
<pre class="programlisting"><a class="link" href="OsmGpsMapPoint.html" title="OsmGpsMapPoint"><span class="returnvalue">OsmGpsMapPoint</span></a> *
osm_gps_map_get_event_location (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><span class="type">GdkEventButton</span> *event</code></em>);</pre>
<p>A convenience function for getting the geographic location of events,
such as mouse clicks, on the map</p>
<div class="refsect3">
<a name="id-1.2.2.12.22.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>event</p></td>
<td class="parameter_description"><p>A <span class="type">GtkEventButton</span> that occured on the map</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.12.22.6"></a><h4>Returns</h4>
<p> The point on the globe corresponding to the click. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-convert-geographic-to-screen"></a><h3>osm_gps_map_convert_geographic_to_screen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_convert_geographic_to_screen
(<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapPoint.html" title="OsmGpsMapPoint"><span class="type">OsmGpsMapPoint</span></a> *pt</code></em>,
<em class="parameter"><code><span class="type">gint</span> *pixel_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *pixel_y</code></em>);</pre>
<p>Convert the given location on the globe to the corresponding
pixel locations on the map.</p>
<div class="refsect3">
<a name="id-1.2.2.12.23.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pt</p></td>
<td class="parameter_description"><p>location</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pixel_x</p></td>
<td class="parameter_description"><p> pixel location on map, x axis. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>pixel_y</p></td>
<td class="parameter_description"><p> pixel location on map, y axis. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-convert-screen-to-geographic"></a><h3>osm_gps_map_convert_screen_to_geographic ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_convert_screen_to_geographic
(<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><span class="type">gint</span> pixel_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> pixel_y</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapPoint.html" title="OsmGpsMapPoint"><span class="type">OsmGpsMapPoint</span></a> *pt</code></em>);</pre>
<p>Convert the given pixel location on the map into corresponding
location on the globe</p>
<div class="refsect3">
<a name="id-1.2.2.12.24.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pixel_x</p></td>
<td class="parameter_description"><p>pixel location on map, x axis</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pixel_y</p></td>
<td class="parameter_description"><p>pixel location on map, y axis</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pt</p></td>
<td class="parameter_description"><p> location. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-gps-add"></a><h3>osm_gps_map_gps_add ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_gps_add (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><span class="type">float</span> latitude</code></em>,
<em class="parameter"><code><span class="type">float</span> longitude</code></em>,
<em class="parameter"><code><span class="type">float</span> heading</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.2.12.25.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>latitude</p></td>
<td class="parameter_description"><p>degrees</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>longitude</p></td>
<td class="parameter_description"><p>degrees</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>heading</p></td>
<td class="parameter_description"><p>degrees or <a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-INVALID:CAPS" title="OSM_GPS_MAP_INVALID"><span class="type">OSM_GPS_MAP_INVALID</span></a> to disable showing heading</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-gps-clear"></a><h3>osm_gps_map_gps_clear ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_gps_clear (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>);</pre>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-gps-get-track"></a><h3>osm_gps_map_gps_get_track ()</h3>
<pre class="programlisting"><a class="link" href="OsmGpsMapTrack.html" title="OsmGpsMapTrack"><span class="returnvalue">OsmGpsMapTrack</span></a> *
osm_gps_map_gps_get_track (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.2.12.27.4"></a><h4>Returns</h4>
<p> The <a class="link" href="OsmGpsMapTrack.html" title="OsmGpsMapTrack"><span class="type">OsmGpsMapTrack</span></a> of the internal GPS track,
i.e. that which is modified when calling <a class="link" href="OsmGpsMap.html#osm-gps-map-gps-add" title="osm_gps_map_gps_add ()"><code class="function">osm_gps_map_gps_add()</code></a>. You must
not free this. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-track-add"></a><h3>osm_gps_map_track_add ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_track_add (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapTrack.html" title="OsmGpsMapTrack"><span class="type">OsmGpsMapTrack</span></a> *track</code></em>);</pre>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-track-remove"></a><h3>osm_gps_map_track_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
osm_gps_map_track_remove (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapTrack.html" title="OsmGpsMapTrack"><span class="type">OsmGpsMapTrack</span></a> *track</code></em>);</pre>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-track-remove-all"></a><h3>osm_gps_map_track_remove_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_track_remove_all (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>);</pre>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-image-add"></a><h3>osm_gps_map_image_add ()</h3>
<pre class="programlisting"><a class="link" href="OsmGpsMapImage.html" title="OsmGpsMapImage"><span class="returnvalue">OsmGpsMapImage</span></a> *
osm_gps_map_image_add (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><span class="type">float</span> latitude</code></em>,
<em class="parameter"><code><span class="type">float</span> longitude</code></em>,
<em class="parameter"><code><span class="type">GdkPixbuf</span> *image</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.2.12.31.4"></a><h4>Returns</h4>
<p> A <a class="link" href="OsmGpsMapImage.html" title="OsmGpsMapImage"><span class="type">OsmGpsMapImage</span></a> representing the added pixbuf. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-image-add-with-alignment"></a><h3>osm_gps_map_image_add_with_alignment ()</h3>
<pre class="programlisting"><a class="link" href="OsmGpsMapImage.html" title="OsmGpsMapImage"><span class="returnvalue">OsmGpsMapImage</span></a> *
osm_gps_map_image_add_with_alignment (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><span class="type">float</span> latitude</code></em>,
<em class="parameter"><code><span class="type">float</span> longitude</code></em>,
<em class="parameter"><code><span class="type">GdkPixbuf</span> *image</code></em>,
<em class="parameter"><code><span class="type">float</span> xalign</code></em>,
<em class="parameter"><code><span class="type">float</span> yalign</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.2.12.32.4"></a><h4>Returns</h4>
<p> A <a class="link" href="OsmGpsMapImage.html" title="OsmGpsMapImage"><span class="type">OsmGpsMapImage</span></a> representing the added pixbuf. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-image-remove"></a><h3>osm_gps_map_image_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
osm_gps_map_image_remove (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapImage.html" title="OsmGpsMapImage"><span class="type">OsmGpsMapImage</span></a> *image</code></em>);</pre>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-image-remove-all"></a><h3>osm_gps_map_image_remove_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_image_remove_all (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>);</pre>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-layer-add"></a><h3>osm_gps_map_layer_add ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_layer_add (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapLayer.html" title="OsmGpsMapLayer"><span class="type">OsmGpsMapLayer</span></a> *layer</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.2.12.35.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="OsmGpsMapLayer.html" title="OsmGpsMapLayer"><span class="type">OsmGpsMapLayer</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-layer-remove"></a><h3>osm_gps_map_layer_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
osm_gps_map_layer_remove (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>,
<em class="parameter"><code><a class="link" href="OsmGpsMapLayer.html" title="OsmGpsMapLayer"><span class="type">OsmGpsMapLayer</span></a> *layer</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.2.12.36.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="OsmGpsMapLayer.html" title="OsmGpsMapLayer"><span class="type">OsmGpsMapLayer</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="osm-gps-map-layer-remove-all"></a><h3>osm_gps_map_layer_remove_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osm_gps_map_layer_remove_all (<em class="parameter"><code><a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *map</code></em>);</pre>
<p class="since">Since: 0.7.0</p>
</div>
</div>
<div class="refsect1">
<a name="OsmGpsMap.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="OsmGpsMap-struct"></a><h3>struct OsmGpsMap</h3>
<pre class="programlisting">struct OsmGpsMap;</pre>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMapClass"></a><h3>struct OsmGpsMapClass</h3>
<pre class="programlisting">struct OsmGpsMapClass {
GtkDrawingAreaClass parent_class;
void (*draw_gps_point) (OsmGpsMap *map, cairo_t *cr);
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSM-GPS-MAP-CACHE-DISABLED:CAPS"></a><h3>OSM_GPS_MAP_CACHE_DISABLED</h3>
<pre class="programlisting">#define OSM_GPS_MAP_CACHE_DISABLED "none://"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSM-GPS-MAP-CACHE-AUTO:CAPS"></a><h3>OSM_GPS_MAP_CACHE_AUTO</h3>
<pre class="programlisting">#define OSM_GPS_MAP_CACHE_AUTO "auto://"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSM-GPS-MAP-CACHE-FRIENDLY:CAPS"></a><h3>OSM_GPS_MAP_CACHE_FRIENDLY</h3>
<pre class="programlisting">#define OSM_GPS_MAP_CACHE_FRIENDLY "friendly://"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMapSource-t"></a><h3>enum OsmGpsMapSource_t</h3>
<div class="refsect3">
<a name="id-1.2.2.13.7.3"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-NULL:CAPS"></a>OSM_GPS_MAP_SOURCE_NULL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-OPENSTREETMAP:CAPS"></a>OSM_GPS_MAP_SOURCE_OPENSTREETMAP</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-OPENSTREETMAP-RENDERER:CAPS"></a>OSM_GPS_MAP_SOURCE_OPENSTREETMAP_RENDERER</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-OPENAERIALMAP:CAPS"></a>OSM_GPS_MAP_SOURCE_OPENAERIALMAP</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-MAPS-FOR-FREE:CAPS"></a>OSM_GPS_MAP_SOURCE_MAPS_FOR_FREE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-OPENCYCLEMAP:CAPS"></a>OSM_GPS_MAP_SOURCE_OPENCYCLEMAP</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-OSM-PUBLIC-TRANSPORT:CAPS"></a>OSM_GPS_MAP_SOURCE_OSM_PUBLIC_TRANSPORT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-GOOGLE-STREET:CAPS"></a>OSM_GPS_MAP_SOURCE_GOOGLE_STREET</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-GOOGLE-SATELLITE:CAPS"></a>OSM_GPS_MAP_SOURCE_GOOGLE_SATELLITE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-GOOGLE-HYBRID:CAPS"></a>OSM_GPS_MAP_SOURCE_GOOGLE_HYBRID</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-VIRTUAL-EARTH-STREET:CAPS"></a>OSM_GPS_MAP_SOURCE_VIRTUAL_EARTH_STREET</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-VIRTUAL-EARTH-SATELLITE:CAPS"></a>OSM_GPS_MAP_SOURCE_VIRTUAL_EARTH_SATELLITE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-VIRTUAL-EARTH-HYBRID:CAPS"></a>OSM_GPS_MAP_SOURCE_VIRTUAL_EARTH_HYBRID</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-OSMC-TRAILS:CAPS"></a>OSM_GPS_MAP_SOURCE_OSMC_TRAILS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-SOURCE-LAST:CAPS"></a>OSM_GPS_MAP_SOURCE_LAST</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMapKey-t"></a><h3>enum OsmGpsMapKey_t</h3>
<div class="refsect3">
<a name="id-1.2.2.13.8.3"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-KEY-FULLSCREEN:CAPS"></a>OSM_GPS_MAP_KEY_FULLSCREEN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-KEY-ZOOMIN:CAPS"></a>OSM_GPS_MAP_KEY_ZOOMIN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-KEY-ZOOMOUT:CAPS"></a>OSM_GPS_MAP_KEY_ZOOMOUT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-KEY-UP:CAPS"></a>OSM_GPS_MAP_KEY_UP</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-KEY-DOWN:CAPS"></a>OSM_GPS_MAP_KEY_DOWN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-KEY-LEFT:CAPS"></a>OSM_GPS_MAP_KEY_LEFT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-KEY-RIGHT:CAPS"></a>OSM_GPS_MAP_KEY_RIGHT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSM-GPS-MAP-KEY-MAX:CAPS"></a>OSM_GPS_MAP_KEY_MAX</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="OsmGpsMap.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="OsmGpsMap--auto-center"></a><h3>The <code class="literal">“auto-center”</code> property</h3>
<pre class="programlisting"> “auto-center” <span class="type">gboolean</span></pre>
<p>map auto center.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--auto-center-threshold"></a><h3>The <code class="literal">“auto-center-threshold”</code> property</h3>
<pre class="programlisting"> “auto-center-threshold” <span class="type">gfloat</span></pre>
<p>the amount of the window the gps point must move before auto centering.</p>
<p>Flags: Read / Write / Construct</p>
<p>Allowed values: [0,1]</p>
<p>Default value: 0.25</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--auto-download"></a><h3>The <code class="literal">“auto-download”</code> property</h3>
<pre class="programlisting"> “auto-download” <span class="type">gboolean</span></pre>
<p>map auto download.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--drag-limit"></a><h3>The <code class="literal">“drag-limit”</code> property</h3>
<pre class="programlisting"> “drag-limit” <span class="type">gint</span></pre>
<p>The number of pixels the user has to move the pointer in order to start dragging.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Allowed values: >= 0</p>
<p>Default value: 10</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--gps-track-highlight-radius"></a><h3>The <code class="literal">“gps-track-highlight-radius”</code> property</h3>
<pre class="programlisting"> “gps-track-highlight-radius” <span class="type">gint</span></pre>
<p>The radius of the gps point highlight circle.</p>
<p>Flags: Read / Write / Construct</p>
<p>Allowed values: >= 0</p>
<p>Default value: 20</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--gps-track-point-radius"></a><h3>The <code class="literal">“gps-track-point-radius”</code> property</h3>
<pre class="programlisting"> “gps-track-point-radius” <span class="type">gint</span></pre>
<p>The radius of the gps point inner circle.</p>
<p>Flags: Read / Write / Construct</p>
<p>Allowed values: >= 0</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--gps-track-width"></a><h3>The <code class="literal">“gps-track-width”</code> property</h3>
<pre class="programlisting"> “gps-track-width” <span class="type">gfloat</span></pre>
<p>The width of the lines drawn for the gps track.</p>
<p>Flags: Read / Write / Construct</p>
<p>Allowed values: [1,100]</p>
<p>Default value: 4</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--image-format"></a><h3>The <code class="literal">“image-format”</code> property</h3>
<pre class="programlisting"> “image-format” <span class="type">gchar</span> *</pre>
<p>The map source tile repository image format (jpg, png).</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: "png"</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--latitude"></a><h3>The <code class="literal">“latitude”</code> property</h3>
<pre class="programlisting"> “latitude” <span class="type">gfloat</span></pre>
<p>Latitude in degrees.</p>
<p>Flags: Read</p>
<p>Allowed values: [-90,90]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--longitude"></a><h3>The <code class="literal">“longitude”</code> property</h3>
<pre class="programlisting"> “longitude” <span class="type">gfloat</span></pre>
<p>Longitude in degrees.</p>
<p>Flags: Read</p>
<p>Allowed values: [-180,180]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--map-source"></a><h3>The <code class="literal">“map-source”</code> property</h3>
<pre class="programlisting"> “map-source” <span class="type">gint</span></pre>
<p>A <a class="link" href="OsmGpsMap.html#OsmGpsMapSource-t" title="enum OsmGpsMapSource_t"><span class="type">OsmGpsMapSource_t</span></a> representing the tile repository to use</p>
<div class="note"><p>
If you do not wish to use the default map tiles (provided by OpenStreeMap)
it is recommened that you set this property at construction, instead
of setting <a class="link" href="OsmGpsMap.html#OsmGpsMap--repo-uri" title="The “repo-uri” property"><span class="type">“repo-uri”</span></a>.
</p></div>
<p>Flags: Read / Write / Construct</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--map-x"></a><h3>The <code class="literal">“map-x”</code> property</h3>
<pre class="programlisting"> “map-x” <span class="type">gint</span></pre>
<p>Initial map x location.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: 890</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--map-y"></a><h3>The <code class="literal">“map-y”</code> property</h3>
<pre class="programlisting"> “map-y” <span class="type">gint</span></pre>
<p>Initial map y location.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: 515</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--max-zoom"></a><h3>The <code class="literal">“max-zoom”</code> property</h3>
<pre class="programlisting"> “max-zoom” <span class="type">gint</span></pre>
<p>Maximum zoom level.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Allowed values: [0,20]</p>
<p>Default value: 18</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--min-zoom"></a><h3>The <code class="literal">“min-zoom”</code> property</h3>
<pre class="programlisting"> “min-zoom” <span class="type">gint</span></pre>
<p>Minimum zoom level.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Allowed values: [0,20]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--proxy-uri"></a><h3>The <code class="literal">“proxy-uri”</code> property</h3>
<pre class="programlisting"> “proxy-uri” <span class="type">gchar</span> *</pre>
<p>HTTP proxy uri or NULL.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--record-trip-history"></a><h3>The <code class="literal">“record-trip-history”</code> property</h3>
<pre class="programlisting"> “record-trip-history” <span class="type">gboolean</span></pre>
<p>should all gps points be recorded in a trip history.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--repo-uri"></a><h3>The <code class="literal">“repo-uri”</code> property</h3>
<pre class="programlisting"> “repo-uri” <span class="type">gchar</span> *</pre>
<p>A URI string which defines the location and format to fetch tiles
for the map. The string is of the format
"http://tile.openstreetmap.org/#Z/#X/#Y.png". Characters
that begin with # are treated as tokens and replaced according to
the following rules;</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>
#X - X-tile, slippy map format
</p></li>
<li class="listitem"><p>
#Y - Y-tile, slippy map format, mercator projection
</p></li>
<li class="listitem"><p>
#Z - Zoom level, where min_zoom >= zoom <= max_zoom
</p></li>
<li class="listitem"><p>
#S - Zoom level, where -max_zoom >= (zoom-max_zoom) <= min_zoom
</p></li>
<li class="listitem"><p>
#Q - Quad tree format, set of "qrts"
</p></li>
<li class="listitem"><p>
#Q0 - Quad tree format, set of "0123"
</p></li>
<li class="listitem"><p>
#YS - Not Implemented
</p></li>
<li class="listitem"><p>
#R - Random integer in range [0,4]
</p></li>
</ul></div>
<div class="note"><p>
If you do not wish to use the default map tiles (provided by OpenStreeMap)
it is recommened that you use one of the predefined map sources, and thus
you should construct the map by setting <a class="link" href="OsmGpsMap.html#OsmGpsMap--map-source" title="The “map-source” property"><span class="type">“map-source”</span></a> and not
<a class="link" href="OsmGpsMap.html#OsmGpsMap--repo-uri" title="The “repo-uri” property"><span class="type">“repo-uri”</span></a>. The <a class="link" href="OsmGpsMap.html#OsmGpsMap--repo-uri" title="The “repo-uri” property"><span class="type">“repo-uri”</span></a> property is primarily
designed for applications that wish complete control of tile repository
management, or wish to use <a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> with a tile repository it does not
explicitly support.
</p></div>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: "http://tile.openstreetmap.org/#Z/#X/#Y.png"</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--show-gps-point"></a><h3>The <code class="literal">“show-gps-point”</code> property</h3>
<pre class="programlisting"> “show-gps-point” <span class="type">gboolean</span></pre>
<p>Controls whether the current gps point is shown on the map. Note that
for derived classes that implement the draw_gps_point vfunc, if this
property is <code class="literal">FALSE</code></p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--show-trip-history"></a><h3>The <code class="literal">“show-trip-history”</code> property</h3>
<pre class="programlisting"> “show-trip-history” <span class="type">gboolean</span></pre>
<p>should the recorded trip history be shown on the map.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--tile-cache"></a><h3>The <code class="literal">“tile-cache”</code> property</h3>
<pre class="programlisting"> “tile-cache” <span class="type">gchar</span> *</pre>
<p>Either a full path or one of the special format URIs
<a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-DISABLED:CAPS" title="OSM_GPS_MAP_CACHE_DISABLED"><span class="type">OSM_GPS_MAP_CACHE_DISABLED</span></a>, <a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-AUTO:CAPS" title="OSM_GPS_MAP_CACHE_AUTO"><span class="type">OSM_GPS_MAP_CACHE_AUTO</span></a>,
<a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-FRIENDLY:CAPS" title="OSM_GPS_MAP_CACHE_FRIENDLY"><span class="type">OSM_GPS_MAP_CACHE_FRIENDLY</span></a>. Also see <a class="link" href="OsmGpsMap.html#OsmGpsMap--tile-cache-base" title="The “tile-cache-base” property"><span class="type">“tile-cache-base”</span></a> for a
full understanding.</p>
<p><a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-DISABLED:CAPS" title="OSM_GPS_MAP_CACHE_DISABLED"><span class="type">OSM_GPS_MAP_CACHE_DISABLED</span></a> disables the on disk tile cache (so all tiles
are fetched from the network. <a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-AUTO:CAPS" title="OSM_GPS_MAP_CACHE_AUTO"><span class="type">OSM_GPS_MAP_CACHE_AUTO</span></a> causes the tile
cache to be /tile-cache-base/md5(repo-uri), where md5 is the md5sum
of <a class="link" href="OsmGpsMap.html#OsmGpsMap--repo-uri" title="The “repo-uri” property"><span class="type">“repo-uri”</span></a>. <a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-FRIENDLY:CAPS" title="OSM_GPS_MAP_CACHE_FRIENDLY"><span class="type">OSM_GPS_MAP_CACHE_FRIENDLY</span></a>
causes the tile cache to be /tile-cache-base/friendlyname(repo-uri).</p>
<p>Any other string is interpreted as a local path, i.e. /path/to/cache</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: "auto://"</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--tile-cache-base"></a><h3>The <code class="literal">“tile-cache-base”</code> property</h3>
<pre class="programlisting"> “tile-cache-base” <span class="type">gchar</span> *</pre>
<p>The base directory of the tile cache when you have constructed
the map with <a class="link" href="OsmGpsMap.html#OsmGpsMap--tile-cache" title="The “tile-cache” property"><span class="type">“tile-cache”</span></a> set to <a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-AUTO:CAPS" title="OSM_GPS_MAP_CACHE_AUTO"><span class="type">OSM_GPS_MAP_CACHE_AUTO</span></a> or
<a class="link" href="OsmGpsMap.html#OSM-GPS-MAP-CACHE-FRIENDLY:CAPS" title="OSM_GPS_MAP_CACHE_FRIENDLY"><span class="type">OSM_GPS_MAP_CACHE_FRIENDLY</span></a></p>
<p>The string is interpreted as a local path, i.e. /path/to/cache. If NULL
is supplied, map tiles are cached starting in the users cache directory,
(as outlined in the</p>
<a class="ulink" href="http://www.freedesktop.org/wiki/Specifications/basedir-spec" target="_top">
<em class="citetitle">XDG Base Directory Specification</em></a>). To get the
<p>base directory where map tiles will be cached call
<a class="link" href="OsmGpsMap.html#osm-gps-map-get-default-cache-directory" title="osm_gps_map_get_default_cache_directory ()"><code class="function">osm_gps_map_get_default_cache_directory()</code></a></p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--tile-zoom-offset"></a><h3>The <code class="literal">“tile-zoom-offset”</code> property</h3>
<pre class="programlisting"> “tile-zoom-offset” <span class="type">gint</span></pre>
<p>Number of zoom-levels to upsample tiles.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Allowed values: [0,10]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--tiles-queued"></a><h3>The <code class="literal">“tiles-queued”</code> property</h3>
<pre class="programlisting"> “tiles-queued” <span class="type">gint</span></pre>
<p>The number of tiles currently waiting to download. Connect to
::notify::tiles-queued if you want to be informed when this changes</p>
<p>Flags: Read</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="OsmGpsMap--zoom"></a><h3>The <code class="literal">“zoom”</code> property</h3>
<pre class="programlisting"> “zoom” <span class="type">gint</span></pre>
<p>The map zoom level. Connect to ::notify::zoom if you want to be informed
when this changes.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Allowed values: [0,20]</p>
<p>Default value: 3</p>
</div>
</div>
<div class="refsect1">
<a name="OsmGpsMap.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="OsmGpsMap-changed"></a><h3>The <code class="literal">“changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="OsmGpsMap.html" title="OsmGpsMap"><span class="type">OsmGpsMap</span></a> *arg0,
<span class="type">gpointer</span> user_data)</pre>
<p>The <a class="link" href="OsmGpsMap.html#OsmGpsMap-changed" title="The “changed” signal"><span class="type">“changed”</span></a> signal is emitted any time the map zoom or map center
is chaged (such as by dragging or zooming).</p>
<div class="note"><p>
If you are only interested in the map zoom, then you can simply connect
to ::notify::zoom
</p></div>
<div class="refsect3">
<a name="id-1.2.2.15.2.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p>Flags: Run First</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>
|