Commit Graph

9720 Commits

Author SHA1 Message Date
wp_xxyyzz
53fc9b1dc3 Sample project for various POI marker settings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9570 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-08 11:40:46 +00:00
wp_xxyyzz
da08930f63 LazMapViewer: New TextPositionHor and TextPositionVert properties of TGPS|MapPointOfInterest.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9569 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-07 18:18:26 +00:00
wp_xxyyzz
ee3135daf1 LazMapViewer: New ImageAnchorX and ImageAnchorY properties of TGPS|MapPointOfInterest.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9568 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-07 17:28:13 +00:00
wp_xxyyzz
073231eb50 ExCtrls/TFloatSISpinEditEx: Supports more prefixes (binary as well as some metric).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9567 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-06 22:57:12 +00:00
wp_xxyyzz
8fe8d3a882 LazMapViewer: Add TMvPluginManager.AddPlugin method. Some cosmetics.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9566 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-05 18:11:51 +00:00
wp_xxyyzz
fc1b7b9ccd LazMapViewer: Reverse dispatching order of mouse events in plugin manager. Add mouse-paint-order demo for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9565 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-05 17:49:49 +00:00
wp_xxyyzz
0f1b627cf4 LazMapviewer: Add palette icon for TMvPluginManager (by Ekkehard Domning). Move components to page "MapViewer" (from "Misc")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9564 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-04 21:22:51 +00:00
wp_xxyyzz
853503a11f LazMapViewer: Rename TPluginManager.Item[] to .Items[]. Add properties .Count, .MapViewCount and .MapViews[].
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9563 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-04 21:12:05 +00:00
wp_xxyyzz
4c30141e1a LazMapViewer: Add utility functions for centering.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-01 23:56:23 +00:00
wp_xxyyzz
9c6eef3b8c LazMapViewer: Extend Layer Editor to zoom and center on loaded gpx track
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-01 23:45:06 +00:00
wp_xxyyzz
02072abd47 LazMapViewer: Fix positioning of PointsEditor form. Issue #39088.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9560 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-31 18:22:00 +00:00
wp_xxyyzz
62abb888cf LazMapViewer: Fix Layer Editor crashing when layer with loaded gpx file is deleted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9559 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-31 12:47:39 +00:00
wp_xxyyzz
6c1f27b048 LazMapViewer: Update object tree with tracks/pois loaded as gpx from layer editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9558 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-31 12:11:47 +00:00
wp_xxyyzz
72bb393e2f LazMapviewer: Add layer editor as additional TMapView component editor. Replace Load/Save buttons in layer editor by tool buttons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9557 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-30 18:50:30 +00:00
wp_xxyyzz
1e6d2ffcf8 LazMapViewer: Extend LinkedMaps demo with zoom buttons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9556 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-29 17:55:24 +00:00
wp_xxyyzz
b96869c8fc LazMapViewer: Implement MapViewEnabled for MultiMapsPlugin. Extend dragmarker_demo to show enabling of specific maps.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9555 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-29 17:31:14 +00:00
wp_xxyyzz
44cbf67019 LazMapViewer: Activate ControlStyle csAcceptsControls in TMapView (allowing to add any controls to the map viewer). Issue #39090.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-29 00:15:28 +00:00
wp_xxyyzz
2a66f07424 LazMapViewer: Extend TLegalNoticePlugin to support embedded links and line-breaks. Update demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9553 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-28 12:52:00 +00:00
alpine-a110
230cdbbc3b LazMapViewer: Fixed (2) Flickering of component on map, (4) Mark of track points, (5) Selection identification, (6) Red border; from issue #39088.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-26 18:22:25 +00:00
alpine-a110
200f5209e3 LazMapViewer: Fixed recursive loop when loading TMapView component with UseThreads=true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9551 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-25 22:40:12 +00:00
wp_xxyyzz
8457b3b34a LazMapViewer: New class TMvMultiMapsDrawPlugin combining TMvMultiMapsPlugin and TMvDrawPlugin used for the LegalNotice-Plugin.
Added published Property DragMouseButton in the TDraggableMarkerPlugin to allow dragging with specific MouseButtons. Contributed by Ekkehard Domning.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-23 21:59:36 +00:00
alpine-a110
0b8056db78 LazMapViewer: TMapEditMark observing deletions of map items. Issue #39089.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9549 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-23 14:10:45 +00:00
wp_xxyyzz
7b9236498a LazMapViewer: Rename TPointOfInterestDrawEvent to TMapPointOfInterestDrawEvent
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9548 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-20 21:31:16 +00:00
wp_xxyyzz
7d2ed7568b LazMapViewer: Rename TPoint(s)OfInterest to TMapPoint(s)OfInterest (better naming consistency). Update demos, add license info to some.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-20 18:44:36 +00:00
wp_xxyyzz
0d812bc5da LazMapViewer: Avoid "png/jpg expected" error messages when tile download fails.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9546 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-18 20:33:22 +00:00
wp_xxyyzz
511902e32a LazMapViewer: Fix misc compilation and runtime errors.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9545 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-18 20:07:56 +00:00
wp_xxyyzz
58f351f6c9 LazMapViewer: Reorganize cache directory to <provider>/<zoom> hierarchy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-18 16:54:43 +00:00
wp_xxyyzz
ba135c8c70 LazMapViewer: Change default of TMapView.UseThreads to true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9543 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-18 13:06:03 +00:00
wp_xxyyzz
13ef68491a LazMapviewer: Add TileID to parameters of OnDrawMissingTile event/plugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9542 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-18 12:33:22 +00:00
wp_xxyyzz
626917227d LazMapViewer: Add event and plugin hook for drawing missing tiles (OnDrawMissingTile). Issue #39086.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9541 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-18 11:55:37 +00:00
wp_xxyyzz
79aeac4bb7 LazMapviewer: Add plugin handler/dispatcher for OnCenterMoving event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9540 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-16 16:59:26 +00:00
wp_xxyyzz
b7cf9c9ddd LazMapViewer: Add plugin handler/dispatcher for OnZoomChanging event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9539 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-16 16:13:25 +00:00
alpine-a110
17b6e88785 LazMapViewer: Fixed opacity in TMapEditMark.Draw.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9538 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-16 11:55:43 +00:00
wp_xxyyzz
48e69cae28 LazMapViewer: No longer delegate execution of user events to plugin manager.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9537 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-16 00:43:38 +00:00
wp_xxyyzz
434196e0e2 LazMapViewer: Add support for MouseWheel event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9536 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-15 23:48:12 +00:00
wp_xxyyzz
39889975d4 LazMapViewer: Add missing Assign methods to plugins
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9535 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-14 23:26:40 +00:00
wp_xxyyzz
b000bcfb7f LazMapViewer: Completing the mapgrid and mapscale plugin documentation files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9534 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-14 18:08:40 +00:00
wp_xxyyzz
a2fdd960ea LazMapViewer: Introduce TMvDrawPlugin as common descendant for plugs which draw into the map. Update demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9533 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-14 17:41:17 +00:00
wp_xxyyzz
ce41a9f02c LazMapViewer: Add "reorderplugins" demo. Less hints/warnings in spreadmarker plugin code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9532 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-14 12:49:54 +00:00
wp_xxyyzz
acbe80d14b LazMapViewer: Convert plugin manager events to functions with former Handled parameter as result. Check all demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9531 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-14 12:33:17 +00:00
wp_xxyyzz
bbc374d159 LazMapViewer: Fix memory leak in mapgrid plugin demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9530 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-14 10:33:54 +00:00
wp_xxyyzz
7fef0979c2 LazMapViewer: Add scale and grid plugins to fulldemo. Add zoom min to scale demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9529 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-13 22:41:48 +00:00
wp_xxyyzz
6304b7d15b LazMapViewer: Some renaming in the grid plugin unit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9528 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-13 21:52:22 +00:00
wp_xxyyzz
e9817f4048 LazMapViewer: Add MapScale plugin, based on Yuliyan Ivanov's code for issue #39081. Removed code from TMapView. Add demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9527 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-13 19:22:29 +00:00
wp_xxyyzz
c6698b5cd2 LazMapViewer: Move TGridPlugin code into separate unit. Add readme.txt documentation for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9526 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-13 18:11:05 +00:00
wp_xxyyzz
512dcb0081 LazMapViewer: Builtin plugin manager no longer accessible via published PluginManager property .
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9525 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-13 17:17:51 +00:00
wp_xxyyzz
94863c07bd LazMapViewer: Fix LazIntfImage drawing engine crashing in TextOut under Linux (issue #39083)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9524 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-13 15:32:09 +00:00
wp_xxyyzz
23c9bb97e8 LazMapViewer: In GridPlugin, draw grid lines before objects. Extend demo to add/delete points of interest (note: memory leak after deleting!)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9523 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-13 10:05:32 +00:00
wp_xxyyzz
1e63bb3075 LazMapViewer: Publish properties Anchors and BorderSpacing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9522 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-12 23:30:41 +00:00
wp_xxyyzz
ad4b3e02aa LazMapViewer: Fix rare label positioning bug in TGridPlugin. Add property to adjust distance of labels from map border.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9521 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-12 23:23:23 +00:00