diff --git a/qtviewer_planetosm/qtviewer_planetosm_zh_CN.ts b/qtviewer_planetosm/qtviewer_planetosm_zh_CN.ts
index 6a01d5d49a23a1328b34218dca4b35b088e2e9cd..9342616d61b8289798d3b6aa28af3a6fda468af0 100644
--- a/qtviewer_planetosm/qtviewer_planetosm_zh_CN.ts
+++ b/qtviewer_planetosm/qtviewer_planetosm_zh_CN.ts
@@ -194,7 +194,7 @@
可见
-
+
保存到图像
diff --git a/qtvplugin_geomarker/qtvplugin_geomarker.cpp b/qtvplugin_geomarker/qtvplugin_geomarker.cpp
index f93bd7e4037f2e8b5f1383c4926d6b2aa7d735a9..940eae5a738981679d27310c2bca9601d0dc9149 100644
--- a/qtvplugin_geomarker/qtvplugin_geomarker.cpp
+++ b/qtvplugin_geomarker/qtvplugin_geomarker.cpp
@@ -235,23 +235,38 @@ void qtvplugin_geomarker::cb_paintEvent( QPainter * pImage )
rect.width(),
rect.height()
);
- //Warpping 180, -180. because longitude +180 and -180 is the same point,
- // but the map is plat, -180 and + 180 is quite different positions, we
- // should draw 3 times, to slove cross 180 drawing problems.
- for (int p = -1; p<=1 ;++p)
+ if (!too_many_items())
+ {
+ //Warpping 180, -180. because longitude +180 and -180 is the same point,
+ // but the map is plat, -180 and + 180 is quite different positions, we
+ // should draw 3 times, to slove cross 180 drawing problems.
+ for (int p = -1; p<=1 ;++p)
+ {
+ QRectF source(
+ leftcenx + p * winsz,
+ topceny,
+ (rightcenx - leftcenx),
+ (bottomceny - topceny)
+ );
+
+ m_pScene->render(pImage,destin,source);
+
+ }
+ }
+ else
{
QRectF source(
- leftcenx + p * winsz,
+ leftcenx ,
topceny,
(rightcenx - leftcenx),
(bottomceny - topceny)
);
-
m_pScene->render(pImage,destin,source);
}
+
//draw current tools
switch (m_currentTools)
{
diff --git a/qtvplugin_geomarker/qtvplugin_geomarker_zh_CN.ts b/qtvplugin_geomarker/qtvplugin_geomarker_zh_CN.ts
index 0a0ef1406ac01b86dda76014e3a666f9e7decc46..c518144568516bf52e19a16d911110b7cda6913b 100644
--- a/qtvplugin_geomarker/qtvplugin_geomarker_zh_CN.ts
+++ b/qtvplugin_geomarker/qtvplugin_geomarker_zh_CN.ts
@@ -308,7 +308,7 @@
- 正在重新计算坐标,完成 %1 %%
+ 正在重新计算坐标,完成 %1 %%