bugfix for layer label plot

This commit is contained in:
wyq 2021-05-15 12:05:27 +08:00
parent b6cb43e55c
commit e1bfd4f1d8
4 changed files with 4869 additions and 14 deletions

View File

@ -669,7 +669,7 @@ public class MapPlot extends AbstractPlot2D implements IWebMapPanel {
* Add point graphic
*
* @param lat Latitude
* @param lon Lontitude
* @param lon Longitude
* @param pb Point break
*/
public void addPoint(double lat, double lon, PointBreak pb) {

View File

@ -6258,7 +6258,7 @@ public class MapView extends JPanel implements IWebMapPanel {
case CENTER:
aPoint.X = (float) xy[0] - labSize.width / 2;
break;
case LEFT:
case RIGHT:
aPoint.X = (float) xy[0] - labSize.width;
break;
}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<MeteoInfo File="config.xml" Type="configurefile">
<Path OpenPath="D:\Temp\traj\Sample"/>
<Path OpenPath="D:\Temp\Map"/>
<Font>
<TextFont FontName="YaHei Consolas Hybrid" FontSize="14"/>
<LegendFont FontName="宋体" FontSize="12"/>

File diff suppressed because it is too large Load Diff