Commit Graph

9720 Commits

Author SHA1 Message Date
wp_xxyyzz
6d7bfb694a LazMapViewer: Update project group.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9720 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-02 23:05:12 +00:00
wp_xxyyzz
706cde3920 LazMapViewer: Move spreadmarker plugin into markers folder.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9719 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-02 23:04:49 +00:00
wp_xxyyzz
72e6a3e6e1 LazMapViewer: Fix switching to hand-point cursor even when mouse is not on a marker. Issue #39117, patch by Kirill Filippenok.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9718 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-01 15:57:54 +00:00
wp_xxyyzz
87fec238ec THtmlPort: Add file IMPORTANT.txt stating that the repository is not maintained and replaced by HTMLViewer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9717 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-01 12:12:18 +00:00
wp_xxyyzz
2e9ee399fc LazMapViewer: Improved point detection in mvPluginCommon's FindNearestMarker. Issue #39101.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9716 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-01 09:30:54 +00:00
wp_xxyyzz
24b6e1099d LazMapViewer: Add options to TMarkerEditorPlugin to enable/disable adding/dragging/selecting points.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9715 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-31 21:54:53 +00:00
wp_xxyyzz
5eaca89b50 LazMapViewer: Improved handling of system colors by RGBGraphicsDrawingEngine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9714 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-31 17:52:34 +00:00
wp_xxyyzz
7f043291a1 LazMapViewer: Save DrawingEngine state in stack.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9713 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-31 11:46:38 +00:00
wp_xxyyzz
310132d9f5 LazMapViewer: Add methods to store/restore the state of the drawing engine (pen, brush, font, opacity).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9712 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-31 11:09:56 +00:00
wp_xxyyzz
7e03ffb4f8 LazMapViewer: cosmetics
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9711 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-30 22:12:54 +00:00
wp_xxyyzz
ff2c7c5e7f LazMapViewer: Fix positioning of rotated text in BGRABitmap drawer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9710 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-30 22:07:42 +00:00
wp_xxyyzz
3a4e228b66 LazMapViewer: Improved output of rotated text. DrawingEngine.TextExtent now can return both unrotated and rotated text extents.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9709 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-30 22:01:32 +00:00
wp_xxyyzz
c5dd3f0862 LazMapViewer: Fix compilation in non-Windows OS. Clean-up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9708 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-27 11:11:33 +00:00
wp_xxyyzz
3c65849b4b LazMapViewer: DrawingEngines support FontOrientation (issue #39116). New TMapView property POIOpacity.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9707 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-27 00:06:14 +00:00
wp_xxyyzz
e92d81a180 LazMapViewer: Fix TMapView.Font streaming.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9706 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-26 09:40:43 +00:00
wp_xxyyzz
5932f46825 LazMapViewer: Changed cache folder structure to provider/zoom/x/y. Issue #39087
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9705 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-25 12:49:02 +00:00
wp_xxyyzz
934c2bd1a0 LazMapViewer: Fix title of TMarkerEditorPlugin in plugin editor list.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9704 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-25 10:34:10 +00:00
wp_xxyyzz
3ca1ec96db LazMapViewer: Toggle selection of a point in TMarkerEditorPlugin by CTRL + LeftClick
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9703 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-25 10:10:46 +00:00
wp_xxyyzz
d9536cca8a LazMapViewer: Introduce in TMarkerEditorPlugin FState as statevariable to replace individual flag variables. Unselect only after confirmation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9702 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-25 09:51:14 +00:00
wp_xxyyzz
0c94a4cd90 LazMapViewer: Replace TMarkerEditorPlugin properties ClickMode and ExtendSelection by key combinations in Shift* properties. Update demp.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9701 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-24 19:17:34 +00:00
wp_xxyyzz
7677def6cf LazMapViewer: Make TMapView respond to keyboard events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9700 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-24 17:42:51 +00:00
wp_xxyyzz
f7d9f1cbd8 LazMapviewer: Use intermediate class TCustomMarkerClickPlugin to have more control on published properties. Rename some identifiers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9699 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-24 12:22:10 +00:00
wp_xxyyzz
8441d2546f LazMapViewer: Add rubberband selection to TMarkerEditorPlugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9698 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-23 14:06:17 +00:00
wp_xxyyzz
6ef401c2e3 LazMapViewer: Add mini documentation to the header of some plugin files. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9697 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-22 18:18:32 +00:00
wp_xxyyzz
34b247e060 LazMapViewer: Rename MarkerSelectAndDrag_Demo project to MarkerEditor_Demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9696 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-22 12:41:22 +00:00
wp_xxyyzz
e02d3d772e LazMapViewer: Rename TMarkerSelectAndDragPlugin to TMarkerEditorPlugin. New option to add markers by the plugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9695 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-22 12:33:27 +00:00
wp_xxyyzz
3d757daf7d LazMapViewer: Add OnStartDrag and OnEndDrag events to TMarkerSelectAndDragPlugin
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9694 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-21 14:03:12 +00:00
wp_xxyyzz
c3c6ce1223 LazMapViewer: refactor finding of point groups in TMarkerSelectAndDragPlugin
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9693 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-21 13:27:50 +00:00
wp_xxyyzz
980bc6f436 LazMapViewer: Add all points of clicked shape (track or area) to selection of TMarkerSelectAndDragPlugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9692 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-20 23:43:11 +00:00
wp_xxyyzz
bba6b4a7e6 LazMapViewer: Add methods to convert selection of TMarkerSelectAndDragPlugin to GPS track/area.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9691 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-20 23:05:26 +00:00
wp_xxyyzz
a036319196 LazMapViewer: Add methods DeleteSelectedPoints, ConvertSelectedPointsToMapArea and ConvertSelectedPointsToMapTrack to TMarkerSelectAndDragPlugin
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9690 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-20 19:03:33 +00:00
wp_xxyyzz
56cae39588 LazMapViewer: Add property MultiSelect to TMarkerSelectAndDragPlugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9689 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-19 23:47:32 +00:00
wp_xxyyzz
331e6fd9c2 LazMapViewer: New TMarkerSelectAndDragPlugin. Separate all marker plugins off into unit MvMarkerPlugins.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9688 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-19 23:29:03 +00:00
wp_xxyyzz
0d5bec125e LazMapViewer: Add MarkerDragPlugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9687 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-18 17:44:21 +00:00
wp_xxyyzz
cc5dd7eb5e LazMapViewer: Avoid crash of TMarkerClickPlugin when a click occurs between points. Support cursor change on points. Add OnCanClick event to disallow clicking on specific points.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9686 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-18 11:24:45 +00:00
wp_xxyyzz
a1e91b1045 LazMapViewer: Add MarkerClickPlugin and demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9685 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-17 12:28:13 +00:00
wp_xxyyzz
12914ebd4b LazMapViewer: Add new TMarkerHint plugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9684 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-17 11:55:46 +00:00
wp_xxyyzz
8e3611f53a LazMapViewer: Fix default font height in BGRADrawingEngine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9683 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-14 21:44:51 +00:00
wp_xxyyzz
2eb97a3732 LazMapViewer: Fix drawing of missing tiles. Issue #39111.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9682 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-14 19:20:10 +00:00
wp_xxyyzz
a49a182aa2 LazMapViewer: Minor refactoring of tile drawing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9681 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-14 18:04:04 +00:00
wp_xxyyzz
870c3252cb LazMapViewer: Fix incorrect painting of stretched and missing tiles when Cyclic is true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9680 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-13 15:50:11 +00:00
wp_xxyyzz
7cf32c3448 LazMapViewer: Support TransparentMap property also in painting of stretched tiles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9679 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 22:44:39 +00:00
wp_xxyyzz
43ee80e563 LazMapViewer: Add property TransparentMap to allow correct background drawing of alpha-channel-transparent tiles. Add OnAfterDrawTile event forgotten in r9666.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9678 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 22:29:23 +00:00
wp_xxyyzz
2ddd901a34 LazMapViewer: New area icon by Roland Hahn
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9677 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 22:05:32 +00:00
wp_xxyyzz
201779c33c LazMapViewer: Add OnDrawEditMark event to TMapView allowing to custom-draw the EditMark of the viewer. Internal FMarquee* properties renamed to FRubberband*
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9676 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 14:28:40 +00:00
wp_xxyyzz
12eb71ee4e LazMapViewer: Fix loss of coordinate accuracy when dragging points at small zoom factor. Issue #39114.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9675 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 09:46:35 +00:00
wp_xxyyzz
adc968308b LazMapViewer: In TMapEditMark, move declarations of FPt, FMarquee, FMarqueeRect, and FLit from private to protected section. Rename FLit to FList. Issze #39114
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9674 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-11 13:54:25 +00:00
wp_xxyyzz
6dcc628ea3 LazMapViewer: Create the MapView's EditMark in a separate virtual method, CreateEditMark. Issue #39114
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9673 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-11 10:29:41 +00:00
wp_xxyyzz
e8c36f1bc2 LazMapViewer: Improved usability of Map Points Editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9672 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-10 22:28:35 +00:00
wp_xxyyzz
d46dae3faa LazMapViewer: Apply EditMark.CursorShape only when mouse is over MapView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9671 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-10 21:56:53 +00:00