(c-name "ChamplainMapProjection")
(gtype-id "CHAMPLAIN_TYPE_MAP_PROJECTION")
(values
- '("r" "CHAMPLAIN_MAP_PROJECTION_MERCATOR")
+ '("mercator" "CHAMPLAIN_MAP_PROJECTION_MERCATOR")
)
)
(return-type "ChamplainCache*")
)
-(define-function cache_get_default
- (c-name "champlain_cache_get_default")
- (return-type "ChamplainCache*")
-)
-
(define-method update_tile
(of-object "ChamplainCache")
(c-name "champlain_cache_update_tile")
)
)
+(define-method remove_layer
+ (of-object "ChamplainView")
+ (c-name "champlain_view_remove_layer")
+ (return-type "none")
+ (parameters
+ '("ChamplainLayer*" "layer")
+ )
+)
+
(define-method get_coords_from_event
(of-object "ChamplainView")
(c-name "champlain_view_get_coords_from_event")
(return-type "ChamplainMapSourceFactory*")
)
-(define-function map_source_factory_get_default
- (c-name "champlain_map_source_factory_get_default")
- (return-type "ChamplainMapSourceFactory*")
-)
-
(define-method dup_list
(of-object "ChamplainMapSourceFactory")
(c-name "champlain_map_source_factory_dup_list")
(return-type "GSList*")
)
-(define-method get_list
- (of-object "ChamplainMapSourceFactory")
- (c-name "champlain_map_source_factory_get_list")
- (return-type "GSList*")
-)
-
(define-method create
(of-object "ChamplainMapSourceFactory")
(c-name "champlain_map_source_factory_create")
(parameters
'("ChamplainMapSourceDesc*" "desc")
'("ChamplainMapSourceConstructor" "constructor")
- '("gpointer" "user_data")
+ '("gpointer" "data")
)
)
)
)
-(define-function network_map_source_fill_tile
- (c-name "champlain_network_map_source_fill_tile")
- (return-type "none")
- (parameters
- '("ChamplainMapSource*" "map_source")
- '("ChamplainTile*" "tile")
- )
-)
-
;; From champlain-marker.h