mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-20 20:29:10 +02:00
Compare commits
7 Commits
9ff7ecea97
...
a698aa96cd
Author | SHA1 | Date | |
---|---|---|---|
a698aa96cd | |||
a7fef63461 | |||
83217d31a7 | |||
4191f5414f | |||
bf81994aa0 | |||
21c02010f7 | |||
c209e24db8 |
@ -34,8 +34,10 @@ android {
|
||||
* Changing them manually might break the compilation!
|
||||
*******************************************************/
|
||||
|
||||
compileSdkVersion androidCompileSdkVersion.toInteger()
|
||||
buildToolsVersion androidBuildToolsVersion
|
||||
//compileSdkVersion androidCompileSdkVersion.toInteger()
|
||||
compileSdkVersion 31
|
||||
//buildToolsVersion androidBuildToolsVersion
|
||||
buildToolsVersion '31.0.0'
|
||||
ndkVersion androidNdkVersion
|
||||
|
||||
sourceSets {
|
||||
|
@ -1,14 +0,0 @@
|
||||
# Project-wide Gradle settings.
|
||||
# For more details on how to configure your build environment visit
|
||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
org.gradle.jvmargs=-Xmx2500m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
||||
|
||||
# Enable building projects in parallel
|
||||
org.gradle.parallel=true
|
||||
|
||||
# Gradle caching allows reusing the build artifacts from a previous
|
||||
# build with the same inputs. However, over time, the cache size will
|
||||
# grow. Uncomment the following line to enable it.
|
||||
#org.gradle.caching=true
|
@ -301,7 +301,7 @@ void RasterTile::processPolygons(QList<TextItem*> &textItems)
|
||||
QList<TextItem *> labels;
|
||||
|
||||
for (int i = 0; i < _polygons.size(); i++) {
|
||||
MapData::Poly &poly = _polygons[i];
|
||||
const MapData::Poly &poly = _polygons.at(i);
|
||||
bool exists = set.contains(poly.label.text());
|
||||
|
||||
if (poly.label.text().isEmpty())
|
||||
@ -343,7 +343,7 @@ void RasterTile::processLines(QList<TextItem*> &textItems)
|
||||
void RasterTile::processStreetNames(QList<TextItem*> &textItems)
|
||||
{
|
||||
for (int i = 0; i < _lines.size(); i++) {
|
||||
MapData::Poly &poly = _lines[i];
|
||||
const MapData::Poly &poly = _lines.at(i);
|
||||
const Style::Line &style = _style->line(poly.type);
|
||||
|
||||
if (style.img().isNull() && style.foreground() == Qt::NoPen)
|
||||
@ -433,7 +433,7 @@ void RasterTile::processPoints(QList<TextItem*> &textItems)
|
||||
std::sort(_points.begin(), _points.end());
|
||||
|
||||
for (int i = 0; i < _points.size(); i++) {
|
||||
MapData::Point &point = _points[i];
|
||||
const MapData::Point &point = _points.at(i);
|
||||
const Style::Point &style = _style->point(point.type);
|
||||
bool poi = Style::isPOI(point.type);
|
||||
|
||||
|
@ -384,10 +384,13 @@ void Style::defaultLineStyle()
|
||||
_lines[0x10307] = Line(QPen(QColor("#05620e"), 1, Qt::SolidLine));
|
||||
_lines[0x10401] = Line(QImage(":/marine/cable.png"));
|
||||
_lines[0x10402] = Line(QImage(":/marine/pipeline.png"));
|
||||
_lines[0x10405] = Line(QPen(QColor("#e728e7"), 1, Qt::DashLine));
|
||||
_lines[0x10404] = Line(QImage(":/marine/fishing-farm-line.png"));
|
||||
_lines[0x10405] = Line(QImage(":/marine/pipeline-area-line.png"));
|
||||
_lines[0x10406] = Line(QImage(":/marine/cable-area-line.png"));
|
||||
_lines[0x10409] = Line(QPen(QColor("#000000"), 1, Qt::DotLine));
|
||||
_lines[0x10501] = Line(QImage(":/marine/noanchor-line.png"));
|
||||
_lines[0x10503] = Line(QPen(QColor("#e728e7"), 1, Qt::DashLine));
|
||||
_lines[0x10505] = Line(QImage(":/marine/safety-zone-line.png"));
|
||||
_lines[0x10507] = Line(QPen(QColor("#e728e7"), 1, Qt::DashLine));
|
||||
_lines[0x10601] = Line(QPen(QColor("#000000"), 1, Qt::SolidLine));
|
||||
_lines[0x10606] = Line(QImage(":/marine/anchor-line.png"));
|
||||
@ -663,8 +666,10 @@ void Style::defaultPointStyle()
|
||||
_points[0x10216] = Point(QImage(":/marine/mooring-buoy.png"));
|
||||
_points[0x10305] = Point(QImage(":/marine/chimney.png"));
|
||||
_points[0x10306] = Point(QImage(":/marine/church.png"));
|
||||
_points[0x10307] = Point(QImage(":/marine/silo.png"));
|
||||
_points[0x10308] = Point(QImage(":/marine/tower.png"));
|
||||
_points[0x1030a] = Point(QImage(":/marine/triangulation-point.png"));
|
||||
_points[0x1030b] = Point(QImage(":/marine/radio.png"));
|
||||
_points[0x10400] = Point(QImage(":/marine/obstruction.png"));
|
||||
_points[0x10401] = Point(QImage(":/marine/obstruction.png"));
|
||||
_points[0x10402] = Point(QImage(":/marine/wreck.png"));
|
||||
@ -673,9 +678,12 @@ void Style::defaultPointStyle()
|
||||
_points[0x1040a] = Point(QImage(":/marine/rock-dangerous.png"));
|
||||
_points[0x1040c] = Point(QImage(":/marine/rock-exposed.png"));
|
||||
_points[0x10701] = Point(QImage(":/marine/anchorage.png"));
|
||||
_points[0x10702] = Point(QImage(":/marine/boarding-place.png"));
|
||||
_points[0x10703] = Point(QImage(":/marine/yacht-harbor.png"));
|
||||
_points[0x10704] = Point(QImage(":/marine/pile.png"));
|
||||
_points[0x10705] = Point(QImage(":/marine/anchoring-prohibited.png"));
|
||||
_points[0x1070a] = Point(QImage(":/marine/coast-guard.png"));
|
||||
_points[0x1070b] = Point(QImage(":/marine/fishing-harbor.png"));
|
||||
}
|
||||
|
||||
bool Style::itemInfo(SubFile *file, SubFile::Handle &hdl,
|
||||
|
Loading…
x
Reference in New Issue
Block a user