mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-21 04:39:10 +02:00
Compare commits
No commits in common. "a698aa96cdf010da070008077dd3a78beb60a42e" and "9ff7ecea9750af525ef9402a33c24f4089353c66" have entirely different histories.
a698aa96cd
...
9ff7ecea97
@ -34,10 +34,8 @@ android {
|
|||||||
* Changing them manually might break the compilation!
|
* Changing them manually might break the compilation!
|
||||||
*******************************************************/
|
*******************************************************/
|
||||||
|
|
||||||
//compileSdkVersion androidCompileSdkVersion.toInteger()
|
compileSdkVersion androidCompileSdkVersion.toInteger()
|
||||||
compileSdkVersion 31
|
buildToolsVersion androidBuildToolsVersion
|
||||||
//buildToolsVersion androidBuildToolsVersion
|
|
||||||
buildToolsVersion '31.0.0'
|
|
||||||
ndkVersion androidNdkVersion
|
ndkVersion androidNdkVersion
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
14
pkg/android/gradle.properties
Normal file
14
pkg/android/gradle.properties
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# 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;
|
QList<TextItem *> labels;
|
||||||
|
|
||||||
for (int i = 0; i < _polygons.size(); i++) {
|
for (int i = 0; i < _polygons.size(); i++) {
|
||||||
const MapData::Poly &poly = _polygons.at(i);
|
MapData::Poly &poly = _polygons[i];
|
||||||
bool exists = set.contains(poly.label.text());
|
bool exists = set.contains(poly.label.text());
|
||||||
|
|
||||||
if (poly.label.text().isEmpty())
|
if (poly.label.text().isEmpty())
|
||||||
@ -343,7 +343,7 @@ void RasterTile::processLines(QList<TextItem*> &textItems)
|
|||||||
void RasterTile::processStreetNames(QList<TextItem*> &textItems)
|
void RasterTile::processStreetNames(QList<TextItem*> &textItems)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < _lines.size(); i++) {
|
for (int i = 0; i < _lines.size(); i++) {
|
||||||
const MapData::Poly &poly = _lines.at(i);
|
MapData::Poly &poly = _lines[i];
|
||||||
const Style::Line &style = _style->line(poly.type);
|
const Style::Line &style = _style->line(poly.type);
|
||||||
|
|
||||||
if (style.img().isNull() && style.foreground() == Qt::NoPen)
|
if (style.img().isNull() && style.foreground() == Qt::NoPen)
|
||||||
@ -433,7 +433,7 @@ void RasterTile::processPoints(QList<TextItem*> &textItems)
|
|||||||
std::sort(_points.begin(), _points.end());
|
std::sort(_points.begin(), _points.end());
|
||||||
|
|
||||||
for (int i = 0; i < _points.size(); i++) {
|
for (int i = 0; i < _points.size(); i++) {
|
||||||
const MapData::Point &point = _points.at(i);
|
MapData::Point &point = _points[i];
|
||||||
const Style::Point &style = _style->point(point.type);
|
const Style::Point &style = _style->point(point.type);
|
||||||
bool poi = Style::isPOI(point.type);
|
bool poi = Style::isPOI(point.type);
|
||||||
|
|
||||||
|
@ -384,13 +384,10 @@ void Style::defaultLineStyle()
|
|||||||
_lines[0x10307] = Line(QPen(QColor("#05620e"), 1, Qt::SolidLine));
|
_lines[0x10307] = Line(QPen(QColor("#05620e"), 1, Qt::SolidLine));
|
||||||
_lines[0x10401] = Line(QImage(":/marine/cable.png"));
|
_lines[0x10401] = Line(QImage(":/marine/cable.png"));
|
||||||
_lines[0x10402] = Line(QImage(":/marine/pipeline.png"));
|
_lines[0x10402] = Line(QImage(":/marine/pipeline.png"));
|
||||||
_lines[0x10404] = Line(QImage(":/marine/fishing-farm-line.png"));
|
_lines[0x10405] = Line(QPen(QColor("#e728e7"), 1, Qt::DashLine));
|
||||||
_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[0x10409] = Line(QPen(QColor("#000000"), 1, Qt::DotLine));
|
||||||
_lines[0x10501] = Line(QImage(":/marine/noanchor-line.png"));
|
_lines[0x10501] = Line(QImage(":/marine/noanchor-line.png"));
|
||||||
_lines[0x10503] = Line(QPen(QColor("#e728e7"), 1, Qt::DashLine));
|
_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[0x10507] = Line(QPen(QColor("#e728e7"), 1, Qt::DashLine));
|
||||||
_lines[0x10601] = Line(QPen(QColor("#000000"), 1, Qt::SolidLine));
|
_lines[0x10601] = Line(QPen(QColor("#000000"), 1, Qt::SolidLine));
|
||||||
_lines[0x10606] = Line(QImage(":/marine/anchor-line.png"));
|
_lines[0x10606] = Line(QImage(":/marine/anchor-line.png"));
|
||||||
@ -666,10 +663,8 @@ void Style::defaultPointStyle()
|
|||||||
_points[0x10216] = Point(QImage(":/marine/mooring-buoy.png"));
|
_points[0x10216] = Point(QImage(":/marine/mooring-buoy.png"));
|
||||||
_points[0x10305] = Point(QImage(":/marine/chimney.png"));
|
_points[0x10305] = Point(QImage(":/marine/chimney.png"));
|
||||||
_points[0x10306] = Point(QImage(":/marine/church.png"));
|
_points[0x10306] = Point(QImage(":/marine/church.png"));
|
||||||
_points[0x10307] = Point(QImage(":/marine/silo.png"));
|
|
||||||
_points[0x10308] = Point(QImage(":/marine/tower.png"));
|
_points[0x10308] = Point(QImage(":/marine/tower.png"));
|
||||||
_points[0x1030a] = Point(QImage(":/marine/triangulation-point.png"));
|
_points[0x1030a] = Point(QImage(":/marine/triangulation-point.png"));
|
||||||
_points[0x1030b] = Point(QImage(":/marine/radio.png"));
|
|
||||||
_points[0x10400] = Point(QImage(":/marine/obstruction.png"));
|
_points[0x10400] = Point(QImage(":/marine/obstruction.png"));
|
||||||
_points[0x10401] = Point(QImage(":/marine/obstruction.png"));
|
_points[0x10401] = Point(QImage(":/marine/obstruction.png"));
|
||||||
_points[0x10402] = Point(QImage(":/marine/wreck.png"));
|
_points[0x10402] = Point(QImage(":/marine/wreck.png"));
|
||||||
@ -678,12 +673,9 @@ void Style::defaultPointStyle()
|
|||||||
_points[0x1040a] = Point(QImage(":/marine/rock-dangerous.png"));
|
_points[0x1040a] = Point(QImage(":/marine/rock-dangerous.png"));
|
||||||
_points[0x1040c] = Point(QImage(":/marine/rock-exposed.png"));
|
_points[0x1040c] = Point(QImage(":/marine/rock-exposed.png"));
|
||||||
_points[0x10701] = Point(QImage(":/marine/anchorage.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[0x10703] = Point(QImage(":/marine/yacht-harbor.png"));
|
||||||
_points[0x10704] = Point(QImage(":/marine/pile.png"));
|
_points[0x10704] = Point(QImage(":/marine/pile.png"));
|
||||||
_points[0x10705] = Point(QImage(":/marine/anchoring-prohibited.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,
|
bool Style::itemInfo(SubFile *file, SubFile::Handle &hdl,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user