-
-EXTRA_DIST= capitals.py animated-marker.py demomarkers.py launcher-gtk.py
+EXTRA_DIST= capitals.py animated-marker.py launcher-gtk.py laucher.py polygons.py markers.py
MARKER_COLOR = [0.1,0.1,0.9,1.0]
POSITION = [45.528178, -73.563788]
-SCREEN_SIZE = [800,600]
+SCREEN_SIZE = [640, 480]
#The AnimatedMarker will extend the champlain.Marker class
class AnimatedMarker(champlain.Marker) :
# Create the map view
actor = champlain.View()
- actor.set_size(800, 600)
+ actor.set_size(640, 480)
actor.set_property('scroll-mode', champlain.SCROLL_MODE_KINETIC)
actor.center_on(45.466, -73.75)
actor.set_property('zoom-level', 12)
actor.add_layer(layer)
stage = clutter.stage_get_default()
- stage.set_size(800, 600)
+ stage.set_size(640, 480)
stage.add(actor)
stage.add(buttons)
stage.show()
def main():
# Create the map view
actor = champlain.View()
- actor.set_size(800, 600)
+ actor.set_size(640, 480)
actor.set_property('scroll-mode', champlain.SCROLL_MODE_KINETIC)
actor.set_property('zoom-level', 9)
actor.center_on(45.466, -73.75)
buttons.add(button)
stage = clutter.stage_get_default()
- stage.set_size(800, 600)
+ stage.set_size(640, 480)
stage.add(actor)
stage.add(buttons)
stage.show()