summaryrefslogtreecommitdiff
path: root/champlain/launcher.c
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc@squidy.info>2008-09-16 11:06:14 -0400
committerPierre-Luc Beaudoin <pierre-luc@squidy.info>2008-09-16 11:06:14 -0400
commit46b99dfa2bb68987eedc6a15e1aca8850feb5af0 (patch)
tree6c386bb0e54db18fd73ebaab0d3c5ed8c317b3a5 /champlain/launcher.c
parent84a9e3f1f95266a0bf652840e2ac1fee41ed4cf1 (diff)
downloadlibchamplain-0.2.1.tar.gz
Use (lat, lon) instead of (lon, lat)v0.2.1
Diffstat (limited to 'champlain/launcher.c')
-rw-r--r--champlain/launcher.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/champlain/launcher.c b/champlain/launcher.c
index 8bbd21a..2b6a346 100644
--- a/champlain/launcher.c
+++ b/champlain/launcher.c
@@ -31,15 +31,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);
@@ -66,7 +66,7 @@ main (int argc, char *argv[])
champlain_view_add_layer(actor, layer);
clutter_container_add_actor (CLUTTER_CONTAINER (stage), actor);
- champlain_view_center_on(CHAMPLAIN_VIEW(actor), -73.75, 45.466);
+ champlain_view_center_on(CHAMPLAIN_VIEW(actor), 45.466, -73.75);
clutter_actor_show (stage);
clutter_main ();