From f931e996aa941e34643139c3f86bfa97f8f3be97 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Tue, 16 Sep 2008 11:08:14 -0400 Subject: [PATCH] Use (lat, lon) instead of (lon, lat) --- champlain-gtk/launcher.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/champlain-gtk/launcher.c b/champlain-gtk/launcher.c index 212b52a..ced334d 100644 --- a/champlain-gtk/launcher.c +++ b/champlain-gtk/launcher.c @@ -46,15 +46,15 @@ create_marker_layer () ClutterColor orange = { 0xf3, 0x94, 0x07, 0xbb }; ClutterColor white = { 0xff, 0xff, 0xff, 0xff }; marker = champlain_marker_new_with_label("Montréal", "Airmole 14", NULL, NULL); - champlain_marker_set_position(CHAMPLAIN_MARKER(marker), -73.563788, 45.528178); + champlain_marker_set_position(CHAMPLAIN_MARKER(marker), 45.528178, -73.563788); clutter_container_add(CLUTTER_CONTAINER(layer), marker, NULL); marker = champlain_marker_new_with_label("New York", "Sans 25", &white, NULL); - champlain_marker_set_position(CHAMPLAIN_MARKER(marker), -73.98, 40.77); + champlain_marker_set_position(CHAMPLAIN_MARKER(marker), 40.77, -73.98); clutter_container_add(CLUTTER_CONTAINER(layer), marker, NULL); marker = champlain_marker_new_with_label("Saint-Tite-des-Caps", "Serif 12", NULL, &orange); - champlain_marker_set_position(CHAMPLAIN_MARKER(marker), -70.764141, 47.130885); + champlain_marker_set_position(CHAMPLAIN_MARKER(marker), 47.130885, -70.764141); clutter_container_add(CLUTTER_CONTAINER(layer), marker, NULL); clutter_actor_hide(layer); @@ -205,7 +205,7 @@ main (int argc, char *argv[]) /* make sure that everything, window and label, are visible */ gtk_widget_show_all (window); - champlain_view_center_on(CHAMPLAIN_VIEW(view), -73.75, 45.466); + champlain_view_center_on(CHAMPLAIN_VIEW(view), 45.466, -73.75); /* start the main loop */ gtk_main (); -- 2.39.5