Commit Graph

9548 Commits

Author SHA1 Message Date
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
wp_xxyyzz
a78cbdc5e6 LazMapViewer: Sync with dev version (726b708e19): New event OnGPSItemsModified, new grid plugin, bug fixes, less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9520 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-12 10:15:13 +00:00
wp_xxyyzz
e0b984237b LazMapViewer: Fix selection of MapView in plugins at designtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9519 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-10 09:51:29 +00:00
wp_xxyyzz
f5db5a89e7 LazMapViewer: Opaque drawing of the TCenterMarkerPlugin's cross.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9518 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-09 23:43:07 +00:00
wp_xxyyzz
baf28e29fb LazMapViewer: Add new property TLegalNoticePlugin.Opacity. Update demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9517 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-09 17:30:50 +00:00
wp_xxyyzz
58a4ae4f18 Fix incorrect streaming of TLegalNoticePlugin
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9516 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-09 16:17:29 +00:00
wp_xxyyzz
63d85ad7a2 LazMapViewer: Add spreaded marker plugin with demo. By Ekkehard Domning.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9515 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-08 22:43:25 +00:00
wp_xxyyzz
0ed2ea7d3e LazMapViewer: Initial version of a plugin system. Code mostly by Ekkehard Domning, issue #39083
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9514 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-07 20:56:27 +00:00
alpine-a110
6bb03f8509 LazMapViewer: Separated Scale.SpaceX, Scale.SpaceY. Reduce Scale width and SpaceX with smaller MapView. Issue #39081.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9513 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-06 12:26:51 +00:00
alpine-a110
66ff282a1d LazMapViewer: Scale property added to TMapView. The type is TMapScale. Issue #39081.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9512 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-04 17:10:22 +00:00
alpine-a110
e31e0c3983 LazMapViewer: FPC 3.0.x compatible FMod()
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-04 07:17:41 +00:00
alpine-a110
f8b09bc698 LazMapViewer: Fixed Left instance of a POI disappears completely together with the caption, the right POI instance caption shows up earlier than the image. Issue #39082 (2).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9510 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-03 17:54:31 +00:00
alpine-a110
fe61cb686e LazMapViewer: Fixed all instances of a POI disappear at a certain position in the MapView. Issue #3982 (1).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9509 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-03 17:14:31 +00:00
wp_xxyyzz
56a27ca99b FPSpreadsheet: Add pagelayout demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9508 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-30 17:02:29 +00:00
wp_xxyyzz
43f8e27ce2 fpspreadsheet: Fix centering of worksheet in xlsx print-out. Fix print page orientation in ods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9507 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-30 16:41:58 +00:00
wp_xxyyzz
03cf0e9c90 LazMapViewer: Fix TMapViewer.CyclicPointsOf crashing if called outside Paint method.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9506 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-27 15:19:31 +00:00
wp_xxyyzz
17132ec44a fpspreadsheet: More conservative version of previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9505 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-22 18:33:55 +00:00
wp_xxyyzz
16e9ab27f1 fpspreadsheet: Fix design-time crash of workbooksource when notifying chartlink without assigned chart.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9504 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-22 18:25:24 +00:00
wp_xxyyzz
4a44b777d8 LazMapViewer: Fix ObjsAtScreenPt(). GitLab issue #39079, patch by Kirill Filippenok
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9503 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-21 22:14:14 +00:00
wp_xxyyzz
48bd37b753 RGBGraphics: Fix compilation on qt5 and qt6. Change package version number to 1.1.1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9502 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-12 09:34:50 +00:00
wp_xxyyzz
d18d02db7e LazMpaViewer: Add some comments.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9501 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-05 13:30:32 +00:00
wp_xxyyzz
92d090919b LazMapViewer: Fix drawing of scaled transparent tiles by RGBGraphics drawing engine. Issue #39078.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9500 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-05 13:12:06 +00:00
wp_xxyyzz
9eec695b86 LazMapViewer: Fix drawing of scaled transparent tiles by BGRABitmap drawing engine.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9499 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-05 08:39:31 +00:00