+/**
+ * Delayed initialization part as the check for gpsbabel availability needs to have been performed
+ */
+void google_post_init ()
+{
+ // Routing
+ /* Google Directions service as routing engine.
+ *
+ * Technical details are available here:
+ * https://developers.google.com/maps/documentation/directions/#DirectionsResponses
+ *
+ * gpsbabel supports this format.
+ */
+ /*
+ * Google no longer supports the API we used
+ *
+ if ( a_babel_available() ) {
+ VikRoutingEngine *routing = g_object_new ( VIK_ROUTING_WEB_ENGINE_TYPE,
+ "id", "google",
+ "label", "Google",
+ "format", "google",
+ "url-base", "http://maps.google.com/maps?output=js&q=",
+ "url-start-ll", "from:%s,%s",
+ "url-stop-ll", "+to:%s,%s",
+ "url-start-dir", "from:%s",
+ "url-stop-dir", "+to:%s",
+ "referer", "http://maps.google.com/",
+ NULL);
+ vik_routing_register ( VIK_ROUTING_ENGINE ( routing ) );
+ g_object_unref ( routing );
+ }
+ */
+}