Commit Graph

9590 Commits

Author SHA1 Message Date
wp_xxyyzz
4d8fc61fad callite: Add HitTest. Issue #39096.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9590 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-15 19:14:43 +00:00
wp_xxyyzz
bcf7b5c43f LazMapViewer: Fix compilation of previous commit. Update points editor form (hide "Select" button which has no function)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9589 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-15 11:30:10 +00:00
wp_xxyyzz
d89df48fd2 LazMapViewer: Add area section plugin with demo. Allow to delete points in spreadmarker_demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9588 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-15 09:59:45 +00:00
wp_xxyyzz
3d1e300fcd LazMapViewer: Add plugin handler for OnResize
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9587 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-15 09:36:40 +00:00
wp_xxyyzz
1ca7133883 New palette icons for LazMapViewer by Roland Hahn
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9586 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-13 15:44:41 +00:00
wp_xxyyzz
0879ee4a0e LazMapViewer: New palette icons by Roland Hahn
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9585 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-13 15:26:42 +00:00
wp_xxyyzz
41b03db616 LazMapViewer: Update project group
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9584 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 20:22:58 +00:00
wp_xxyyzz
a3928d5e6f LazMapViewer: Avoid generic file names in sample projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9583 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 15:18:19 +00:00
wp_xxyyzz
0afda6d375 LazMapViewer: Remove duplicate code from TMvDrawPlugin.Destroy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9582 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 14:54:08 +00:00
wp_xxyyzz
8df360f422 LazMapViewer: Rename unit mvPluginCore to mvPluginCommon. Adapt all sample projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9581 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 11:06:39 +00:00
wp_xxyyzz
4bf90d369f LazMapViewer: Improvements of TDraggableMarkerPlugin, issue #39094.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9580 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 10:04:58 +00:00
wp_xxyyzz
d793149fb7 LazMapViewer: Fix adding and deleting plugins from PluginManager.PluginList directly. Protect other TPluginList methods inherited from TFPList. Introduce EMapViewerException class.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9579 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 09:44:08 +00:00
wp_xxyyzz
ba8b889d48 LazMapViewer: (Hopefully) fix incorrect deletion of Plugmanager and Plugins and resulting crash when IDE closes. Issue #39093.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9578 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 22:57:29 +00:00
wp_xxyyzz
9b216b5dcd LazMapViewer: Avoid cache running over its max size when new items are added. Code by Ekkehard Domning.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9577 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 21:57:30 +00:00
wp_xxyyzz
aed26fd17b LazMapViewer: Fix floating point error in HaversineAngle. In CalcIntermedPoint, use length units specification in CalcGeoDistance rather than multiplying result by 1000.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9576 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 21:48:48 +00:00
wp_xxyyzz
b361823008 LazMapViewer: Cosmetics in mvCache
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9575 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 17:32:06 +00:00
wp_xxyyzz
5fbafff4bf LazMapViewer: mvCache update (code by Ekkehard Domning):
- Add property for the maximum number of tiles kept in memory (linked to MapView by Engine)
- Cache items stored in TFPObjectList rather than StringList
- Sorted StringList for faster searching.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9574 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 16:54:05 +00:00
wp_xxyyzz
a57c5a8f75 LazMapViewer: Slight improvements in point-of-interest markers demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9573 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-08 17:00:19 +00:00
wp_xxyyzz
06dcec188d LazMapViewer: Fix positioning of word-wrapped text in IntfGraphics drawing engine.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9572 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-08 16:59:06 +00:00
wp_xxyyzz
6fc9d9e6ab LazMapViewer: Fix exchanged x/y in text measuring .
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9571 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-08 16:58:13 +00:00
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