Commit 7bf35198 authored by Jonas Danielsson's avatar Jonas Danielsson

Remove all text on css reload

parent 4708736d
......@@ -126,6 +126,8 @@ on_stylesheet_changed (GFileMonitor *monitor,
vtile_mapcss_load (renderer->priv->stylesheet,
g_file_get_path (file), NULL);
maps_mapbox_text_layer_remove_all (renderer->priv->layer);
champlain_view_zoom_out (renderer->priv->view);
champlain_view_zoom_in (renderer->priv->view);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment