g_debug("Realized");
gdk_window_move_resize(widget->window, allocation->x, allocation->y, allocation->width, allocation->height);
gtk_map_update_size(widget, allocation->width, allocation->height);
- gtk_map_refresh(widget);
+ gtk_map_set_center(widget, priv->center.unitx, priv->center.unity);
} else {
g_debug("Not realized yet");
}
/**
* gtk_map_set_center_latlon:
* @lat: Latitude to center on
- * @lon: Longitude to center on
+ * @lon: Longitude to center on
*
* Centers map view on given lat,lon
*/