Merge lp:~evfool/maya/lp1390783-mapquest into lp:~elementary-apps/maya/trunk

Proposed by Robert Roth
Status: Merged
Approved by: Corentin Noël
Approved revision: 729
Merged at revision: 729
Proposed branch: lp:~evfool/maya/lp1390783-mapquest
Merge into: lp:~elementary-apps/maya/trunk
Diff against target: 12 lines (+2/-0)
1 file modified
src/EventEdition/LocationPanel.vala (+2/-0)
To merge this branch: bzr merge lp:~evfool/maya/lp1390783-mapquest
Reviewer Review Type Date Requested Status
elementary Apps team Pending
Review via email: mp+245426@code.launchpad.net

Commit message

[LocationPanel] Use MapQuest map source instead of the default on the event location tab.

Description of the change

Use MapQuest map source instead of the default on the event location tab (lp:1390783).

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/EventEdition/LocationPanel.vala'
--- src/EventEdition/LocationPanel.vala 2014-12-27 17:44:19 +0000
+++ src/EventEdition/LocationPanel.vala 2014-12-29 15:17:48 +0000
@@ -72,6 +72,8 @@
72 champlain_embed = new GtkChamplain.Embed ();72 champlain_embed = new GtkChamplain.Embed ();
73 var view = champlain_embed.champlain_view;73 var view = champlain_embed.champlain_view;
74 var marker_layer = new Champlain.MarkerLayer.full (Champlain.SelectionMode.SINGLE);74 var marker_layer = new Champlain.MarkerLayer.full (Champlain.SelectionMode.SINGLE);
75 var factory = Champlain.MapSourceFactory.dup_default ();
76 view.map_source = factory.create_cached_source (Champlain.MAP_SOURCE_OSM_MAPQUEST);
75 view.add_layer (marker_layer);77 view.add_layer (marker_layer);
7678
77 load_contact.begin ();79 load_contact.begin ();

Subscribers

People subscribed via source and target branches