User Details
- User Since
- Feb 17 2016, 10:11 AM (429 w, 4 d)
- Availability
- Available
Apr 12 2018
May 11 2017
May 1 2017
Apr 27 2017
Updated the patch as earthwings and shentey suggested.
Apr 19 2017
Yes, I think shentey meant that. I got it wrong.
Looks good !
Apr 18 2017
Yes, that's a better solution. Updated the diff.
Apr 11 2017
Also, the method MarbleModelPrivate::assignFillColors(...) is used to assign inline style to each placemark OR to update the style of a already parsed data so that we don't have to parse the data again. A call to MarbleModelPrivate::assignFillColors(...) is done from MarbleModel::setMapTheme(...) to update the style of a GeoDataDocument.
So, if two themes have some common data, then while switching from one to another, we don't parse the data file again. We just update the style info of the already parsed file.
In case of assigning inline style to each placemark, this method is specific to political map. However, it's also used for others themes in case they have any common data
Suppose the method MarbleModelPrivate::assignFillColors(const QString &filePath) was called when the parsing for the file naturalearth/ne_50m_admin_0_countries.pn2 was done.