Not really. Look at the following example. With this code you get a fully functional application with the map widget covering the whole window. You can zoom in and out with your mouse wheel and scroll the view by dragging it. The tiles are downloaded automatically from the network and cached on your disk so they will be available next time even if you are offline.
Notice that only two lines of the code below are specific to libchamplain - the include header and then the call of the constructor of the widget - the rest is just the ordinary boilerplate code you would write for any clutter-based application.
If you save the above code to a file, say champlain.c, you can compile the application (after installing libchamplain first of course) by running:
Now you probably want to do some more advanced things and customize the widget to your needs. Check the demos in the demos directory of the source distribution and read the reference manual to explore the full capabilities of the widget.
GNOME and the foot logo are trademarks of the GNOME Foundation.
This website is based on Cheese's website by Daniel G. Siegel.
Optimized for standards.