Commit Graph

251 Commits

Author SHA1 Message Date
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
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
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
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
wp_xxyyzz
d7de2eba34 LazMapViewer: Remove LCL drawing engine from package and fulldemo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9498 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-04 17:27:38 +00:00
wp_xxyyzz
244c9fa2b2 LazMapViewer: Undo r9494, not usable. Scale all tiles to the size specified by global TileSize variable. Alpha-channel of RGB32BBitmap and BGRABitmap drawing engines not correct, so far. (Issue #39078).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9497 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-04 17:20:17 +00:00
wp_xxyyzz
873d0f4a91 LazMapViewer: Improved restricted panning along the edge of the allowed area.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9495 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-02 23:40:32 +00:00
wp_xxyyzz
1f22d2634b LazMapViewer: Support tile sizes other than 256x256 (experimental feature). Add OpenRailwayMap provider for 512x512 tiles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9494 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-02 14:58:29 +00:00
wp_xxyyzz
eb6ddb92e4 LazMapViewer: Add OnCenterMoving and OnZoomChanging events. Issue CCR-#39077
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9493 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-10-31 12:46:24 +00:00
wp_xxyyzz
fe7fdae720 LazMapViewer: Fix crash when changing download engines to default engine. Fix Linux compilation error.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9492 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-10-24 11:00:46 +00:00
wp_xxyyzz
aa7a12a74a LazMapViewer: Simplify selection of drawing and download engines.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9491 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-10-22 15:32:55 +00:00
wp_xxyyzz
a204dfcd7a LazMapViewer: Avoid new cache-downloadengine to hang when cache file does not exist.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9490 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-10-22 15:32:25 +00:00
wp_xxyyzz
b6619dd30e LazMapViewer: Add download engine which accesses only the local cache.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9489 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-10-22 12:33:30 +00:00
wp_xxyyzz
243e25f62b LazMapViewer: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9473 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-09-30 15:44:03 +00:00
wp_xxyyzz
ae03e20b25 LazMapViewer: Add convenience methods for PointsOfInterest.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9472 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-09-30 15:17:39 +00:00
wp_xxyyzz
8b726faeed LazMapViewer: Add method TGPSObjectList.ClearAll
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9471 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-09-29 17:54:41 +00:00
alpine-a110
fea851bec9 LazMapViewer: Fixed issue when deleting a single point from a track. Points editor form splitted up into runtime and design time parts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9395 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-19 18:02:48 +00:00
wp_xxyyzz
96338e6a58 Replace UITypes by System.UITypes to fix compilation with Laz/main.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9386 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-16 18:00:26 +00:00
alpine-a110
df4eeaaf58 LazMapViewer: Fixed DrawPointOfInterest, DrawTrack issues with opacity. Added interactive TMapView point editor into IDE designer (double-click view to show)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9385 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-16 16:44:07 +00:00
alpine-a110
e8c71cf0d3 LazMapViewer: Semi-transparent areas added to the map layers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9377 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-03 08:57:20 +00:00
alpine-a110
269750c258 LazMapViewer: Opacity drawing implemented into TMvRGBGraphicsDrawingEngine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9376 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-03 08:50:03 +00:00
alpine-a110
8b67489472 LazMapViewer: Added Opacity property to the TMvIntfGraphicsDrawingEngine, TMvBGRADrawingEngine, TMapTrack, TGPSTrack.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9375 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-07-02 12:09:27 +00:00
wp_xxyyzz
ff870471ce LazMapViewer: Add events OnBeforeDrawObjects and OnAfterDrawObjects, as well as BeginUpdateObjects and EndUpdateObjects methods, needed by Ekkehard Domning's quadtree.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9362 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-05-31 16:13:49 +00:00
wp_xxyyzz
744fe8c3a3 LazMapViewer: Fix TMapViewerEngine.CrossesDateLine. Based on patch by Ekkehard Domning. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9352 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-05-26 21:18:18 +00:00
wp_xxyyzz
93167ada8b LazMapViewer: Remove duplicate distance calculation in TGPSPoint. Had to move some general-purpose geo-math routines to a new units mvGeoMath. Old functions kept in mvEngine, but marked as deprecated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9337 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-15 23:11:21 +00:00
wp_xxyyzz
799dc2fec5 LazMapViewer: Remove obsolete folder "fulldemo_with_addons" (project is in "fulldemo" now).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9331 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-09 23:00:17 +00:00
wp_xxyyzz
0a49d28a19 LazMapViewer: Add mapmarker image as resource to fulldemo projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9330 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-09 22:58:42 +00:00
wp_xxyyzz
5aaf2b4d92 LazMapViewer: Fix fulldemo ignoring designtime-selection of MapProvider at first run.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9328 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-08 17:06:22 +00:00
wp_xxyyzz
64723e46e1 LazMapViewer: Add missing PenStyle setters/getters to the LCL DrawingEngine. Some clean-up.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9327 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-05 15:12:11 +00:00
wp_xxyyzz
20997f05cc LazMapViewer: Combine the units of the two fulldemo projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9326 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-05 14:51:09 +00:00
wp_xxyyzz
d7ebdbad20 LazMapViewer: Fix crash in TMapView.SetPOIImage(AValue) when AValue is nil.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9325 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-05 09:08:51 +00:00
wp_xxyyzz
c13251c57d LazMapViewer: Complete unfinished LCL mapviewer (using only LCL drawing routines). Update "fulldemo_with_addons".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9324 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-04 18:10:21 +00:00
wp_xxyyzz
4f4248244a LazMapViewer: Simplify DrawBitmap for BGRA DrawingEngine.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9323 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-04 17:13:14 +00:00
wp_xxyyzz
6faf17d531 LazMapViewer: Fix text size issue in BGRABitmap drawing engine. Improved detection of default font name and size.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9322 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-04 16:56:38 +00:00
wp_xxyyzz
0562f757ef LazMapViewer: Cleanup
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9321 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-04 16:10:32 +00:00