mirror of
https://github.com/meteoinfo/MeteoInfo.git
synced 2025-12-08 20:36:05 +00:00
bugfix for layer label plot
This commit is contained in:
parent
b6cb43e55c
commit
e1bfd4f1d8
@ -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) {
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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
Loading…
x
Reference in New Issue
Block a user