| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The way scroll is triggered is somewhat unreliable, it is better
to accumulate the scroll value, until enough delta is accumulated
to trigger a "tick" (1 scroll unit is equivalent to one traditional
scroll event).
Based on patch from Carlos Garnacho.
|
| |
|
|
|
|
|
|
|
|
|
| |
Return NULL for surface when PathLayer is not visible.
And do not try to export layers where surface is NULL.
Also honor the tile opacity.
https://bugzilla.gnome.org/show_bug.cgi?id=757350
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We successfully override ::gesture-begin and ::zoom in order to
replace the default "zoom the actor" behavior of ClutterZoomAction,
however ClutterZoomAction::gesture-cancel implementation has the side
effect of attempting to restore the actor translation and scale to the
original position, which is undesirable here.
This fixes the ChamplainView going blank, as it tries to "restore" a
0 scale, because we didn't give it an opportunity to fetch the actor
one on ClutterZoomAction::gesture-begin.
https://bugzilla.gnome.org/show_bug.cgi?id=757149
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=757350
|
|
|
|
|
|
|
| |
This function will export the current map view to a
cairo_surface_t surface.
https://bugzilla.gnome.org/show_bug.cgi?id=757350
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=757350
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=757350
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=757350
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=757350
|
|
|
|
|
|
| |
The previous rounded value slightly exceeds the expected bounding box,
making get_tile_bounds function return a negative min_y at high
zoom levels.
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=754413
|
|
|
|
| |
Prevents double-free as dispose can be called multiple times.
|
| |
|
|
|
|
|
|
|
| |
This adds a property to limit the world to a Champlain
BoundingBox.
https://bugzilla.gnome.org/show_bug.cgi?id=753395
|
|
|
|
|
|
|
|
|
|
|
| |
So it seems that the map_source_get_y breaks down when
given values close to +-90. Some googling brought me to the
conclusion that we should have a MIN/MAX latitude of
85.05113, since that is what the Mercator projection
truncates latitude to.
See https://en.wikipedia/wiki/Mercator_projection for
more information,
|
| |
|
|
|
|
| |
Plus correct a typo
|
|
|
|
|
|
|
|
|
|
|
| |
Set up a ClutterZoomAction listening for 2-finger touch gestures,
and make it take control over over the view position/zoom level.
Zooming in/out isn't too smooth yet, because we're constrained
to discrete zoom levels (it does animate between these though),
this is enough at least for the expected interaction.
https://bugzilla.gnome.org/show_bug.cgi?id=709606
|
|
|
|
|
|
|
|
|
|
|
| |
If we receive touch events, obey a single sequence and cancel all
operations if more are received.
The return value in the event handlers has been changed so the
event is propagated, and kinetic scroll can work in cooperation
with pinch/zoom gestures.
https://bugzilla.gnome.org/show_bug.cgi?id=709606
|
|
|
|
|
|
| |
This is needed in order to get data that is gziped from the server.
https://bugzilla.gnome.org/show_bug.cgi?id=748009
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In latest Clutter more devices reports scroll using
the CLUTTER_SCROLL_SMOOTH direction. This means that the
scroll to zoom functionality stopped working for Maps.
Not handling the CLUTTER_SCROLL_SMOOTH in Champlain has
always been a buglet. It gets more serious now that we
get CLUTTER_SCROLL_SMOOTH more often.
https://bugzilla.gnome.org/show_bug.cgi?id=746127
|
|
|
|
|
|
| |
This reverts commit 08c9ea88e4a9fe19adc81da2329066f53b2332c5.
https://bugzilla.gnome.org/show_bug.cgi?id=743121
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=739641
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Make sure the GtkChamplainEmbed widget gives focus to the
GtkClutterEmbed widget. And also propagates the key press
events to the ChamplainView actor.
https://bugzilla.gnome.org/show_bug.cgi?id=738849
|
|
|
|
|
|
|
|
|
| |
Bind the key-press event to the view actor instead
of the kinetic_scroll actor. This will allow users
of GtkChamplainEmbed to use the pan and zoom bindings
from their application.
https://bugzilla.gnome.org/show_bug.cgi?id=738849
|
| |
|
| |
|
|
|
|
| |
Thanks to Chris Mayo for providing the patch.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This way it corresponds to the actual behavior.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=734380
|
| |
|
| |
|