forked from nzjrs/osm-gps-map
-
Notifications
You must be signed in to change notification settings - Fork 1
/
NEWS
100 lines (94 loc) · 4.68 KB
/
NEWS
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
Changes in 0.7.1
======================
Changes in 0.7.0
======================
* Map auto center threshold is now adjustable via the auto-center-threshold
property.
* Build fixes
* Provide a notify signal for tiles-queued and zoom
* Improvements to changing source and tile-cache after map is constructed
* Drawing of the gps marker can now be completely controlled by applications
by implementing the draw_gps_point vfunc
* GPS marker visibility can also be controlled using the show-gps-point property
* GObject introspection support
* Documentation using gtk-doc
* Gtk-3.0 compatible (builds with -DGSEAL_ENABLE)
* Massive improvements to the Image and Track functions and additional
API cleanup. This release is not ABI compatible, however it is API compatible.
All users are advised to update to the new API.
A summary of these changes, and a porting guide follow;
* Replace coord_t -> OsmGpsMapPoint
* osm_gps_map_add_image -> osm_gps_map_image_add and now returns a
OsmGpsMapImage * type that should be used when removing or modifying images
* osm_gps_map_remove_image -> osm_gps_map_image_remove and now
accepts this returned OsmGpsMapImage * pointer
* osm_gps_map_clear_images -> osm_gps_map_image_remove_all
* Track management is now done using the OsmGpsMapTrack object. This
is a wrapper around a GSList of OsmGpsMapPoints. You should keep a
copy of this object around. You can add single points to the track by
calling osm_gps_map_track_add_point, and the map will update
accordingly. You can change the visual appearance of the track via
this object properties.
* osm_gps_map_add_track -> osm_gps_map_track_add
* osm_gps_map_replace_track. Modify the OsmGpsMapTrack object instead
* osm_gps_map_clear_tracks -> osm_gps_map_track_remove_all
* The gps functions are now just convenience wrappers around an
internal OsmGpsMapTrack object
* osm_gps_map_draw_gps -> osm_gps_map_gps_add
* osm_gps_map_clear_gps -> osm_gps_map_gps_clear
* osm_gps_map_screen_to_geographic -> osm_gps_map_convert_screen_to_geographic
* osm_gps_map_geographic_to_screen -> osm_gps_map_convert_geographic_to_screen
* osm_gps_map_get_co_ordinates -> osm_gps_map_get_event_location
* osm_gps_map_set_mapcenter -> osm_gps_map_set_center_and_zoom
Changes in 0.6.0
======================
* Support libsoup-2.2 and libsoup-2.4
* Add a Add a OsmGpsMapLayer interface and a default OSD using the
interface. OsdGpsMapOsd is one implementation of this interface which
draws one or all of; scale, map center coords, zoom control, dpade
control, center crosshair. Much of the drawing code was from Till Harbaum.
* Make the drag limit a gobject property
Changes in 0.5.0
======================
* Note: Many of the improvements this release was based on
code from Till Harbaum
* GDK drawing is not supported anymore, you must have cairo installed
* Use automake silent rules
* Add keyboard navigation support to map widget
* Draw GPS heading in position indicator
* Allow disabling of tile cache
* You can now change the map source at runtime
* Redraw and performance improvements
* Update python bindings
* Build and run correctly on Windows
* Add OPENCYCLEMAP and OSM_PUBLIC_TRANSPORT
* A new "changed" signal. Connect to this to monitor when the map zoom/scroll
or center changes.
* Add osm_gps_map_source_is_valid
Changes in 0.4.0
======================
* Map can now be constructed by passing a MAP_SOURCE ID instead of
the map repo uri
* Fix iter safety when purging the tile cache
* Fix for segfault when adding images to the map
* Remove map repo uris from public API. They should now be retrieved using
osm_gps_map_source_get_repo_uri(OsmGpsMapSource_t source)
* Add osm_gps_map_get_scale
* Implement a blank map source that just draws grey tiles
* Demo application now stores maps in XDG_CACHE_DIR
* Fix build and crashes on windows
* Add getters for name and zoom
* Add a more complete python example
* Add ability to purge the cache
Changes in 0.3.0
======================
* A new major contributor, Alberto Mardegan,
worked on many of the new features of this release. Thanks a lot Alberto!
* Draw map tracks with Cairo by default.
* Interpolate between zoom levels while waiting for a tile to download.
* Stop using GET_PRIVATE, and cache priv* for performance.
* Keep an extra border of images offscreen for smoother scrolling at
the edges of the map.
* Keep the last N tiles in memory to improve render performance
(previously they were loaded from disk)
* Add some new api; osm_gps_set_center, osm_gps_map_scroll.