Commit Graph

69 Commits

Author SHA1 Message Date
alpine-a110
58f994c821 LazMapViewer: Added CacheLocation property to the TMapView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9265 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-04 13:36:32 +00:00
alpine-a110
d85d2a6abd SetOnDrawPoint fix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-04 13:31:34 +00:00
alpine-a110
db74c8f70c LazMapViewer: Added TPointOfInterest.OnDrawPoint event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9241 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-14 16:29:55 +00:00
alpine-a110
8ffdac8479 LazMapViewer: Added POI collection to the map layers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9237 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-13 18:15:14 +00:00
alpine-a110
234c16404d LazMapViewer: Default map center at (0,0) with zoom=1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9233 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-10 17:53:13 +00:00
alpine-a110
f991ac6415 LazMapViewer: Map providers defaults to NONE. Map view cannot be activated in such a case.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9232 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-10 16:55:28 +00:00
alpine-a110
004f1a9328 LazMapViewer: Corrected spelling error, Lattitude -> Latitude.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9229 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-09 16:41:53 +00:00
alpine-a110
e9e5b18ab3 LazMapViewer: Check compatability of provider projection type against the base provider.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9227 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-09 12:50:20 +00:00
alpine-a110
ea1efb8066 LazMapViewer: Added layers collection and center point to the map. Map can be activated into the form designer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9226 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-09 06:46:54 +00:00
wp_xxyyzz
1b0cc03ff5 LazMapviewer: Enable/disable zooming and panning of the map. Issue #39069, patch by Yuliyan Ivanov. Update colored_tracks demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9182 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-29 13:04:09 +00:00
wp_xxyyzz
ed3cdb19ab lazmapviewer: Fix for tracks starting/ending at same longitude. Patch by Yuliyan Ivanov.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9167 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-24 08:29:53 +00:00
wp_xxyyzz
7df5988462 lazmapviewer: Improved drawing of tracks across the dateline. Patch by Yuliyan Ivanov.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9166 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-23 23:10:13 +00:00
wp_xxyyzz
a0a6aee91f LazMapViewer: Improved drawing (PaintToCanvas with origin), fix of hang due to arithmetic error, improved cyclic drawing. Patch by Yuliyan Ivanov.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9151 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-19 17:55:12 +00:00
wp_xxyyzz
3750b0a3d7 lazmapviewer: Improved drawing code. Extend both fulldemo projects by map layers. Patch by Yuliyan Ivanov. Issue #39063.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9150 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-18 12:11:41 +00:00
wp_xxyyzz
2403a04edb LazMapViewer: In TMapView, replace some calls to Engine.Redraw by Invalidate
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9143 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-15 12:15:22 +00:00
wp_xxyyzz
a28a2371ee LazMapviewer: New optimization by Yuliyan Ivanov (Fixed arithmetic overflow errors for 32 bit target; Fixed ExtractISODateTime() bad ISO date handling resulting in range errors when no milliseconds; Track drawing, fixed segment disappearing when both ends invisible; Tile drawing mode implementation in addons. Tile layer objects in mvMapViewer; Tile drawing mode introduced for additional tile layers; Added TGPSObj.Visible property; DragObj as a public property; added Polyline, Polygon, PolyBezier drawing methods; Minor drawing optimisation: skip invisible part of the track)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-13 16:41:07 +00:00
wp_xxyyzz
59ed6984f4 LazMapViewer: Massive re-work of the drawing engines by Yuliyan Ivanov, issue #39063
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9116 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-02 22:00:06 +00:00
wp_xxyyzz
b95f2c36b8 LazMapViewer: Fixes issues with painting/multithreading. Issue #39063, patch by Yuliyan Ivanov.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9092 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-18 16:56:22 +00:00
wp_xxyyzz
132a03fb08 LazMapViewer: Update map providers, new provider 2GIS (issue #39052, patch by regs01). Split off provider registration into include file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8872 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-03 17:27:45 +00:00
wp_xxyyzz
875a3a826d LazMapViewer: Implement zoomed preview tiles. Patch by Ekkehard Domning. Adapt drawing engines and full demo projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8835 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-13 15:39:47 +00:00
wp_xxyyzz
d9eb6e9065 LazMapViewer: Introduce fast FillPixels as new drawingengine method in order to avoid using the blank tile image.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8834 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-13 11:26:22 +00:00
wp_xxyyzz
f0272f0fef LazMapViewer: Use TMapView.InactiveColor in TMapView.DoDrawTile.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8831 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-11 22:33:43 +00:00
wp_xxyyzz
afa88e8709 LazMapViewer: Avoid drawing artefacts when the mapview is dragged. Patch by Ekkehard Domning.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8830 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-11 22:17:22 +00:00
wp_xxyyzz
8e3014d9ab LazMapViewer: Fix issue with marker disappearing at small zoom when the window is wider than the full map. Patch by Ekkehard Domning. Prevent POIImage exception in the fulldemo_with_addons. Show "Cyclic view" checkbox in fulldemo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8815 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-26 20:31:30 +00:00
wp_xxyyzz
e05872d079 LazMapViewer: Simplify drawing of tracks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8811 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-25 21:31:28 +00:00
wp_xxyyzz
6bf9e8a2c7 LazMapViewer: Restore parts of commits #8796 and #8798.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8810 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-25 21:28:43 +00:00
wp_xxyyzz
4ca84b72c3 LazMapViewer: Add new property Cyclic (not functional yet)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8804 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-25 11:19:04 +00:00
wp_xxyyzz
daa01d1ce6 lazmapviewer: Revert "periodic world" commits #8789, #8796, #8798 (too many issues).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8799 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-22 09:48:34 +00:00
wp_xxyyzz
7b8cf5cf0b LazMapviewer: Partial fix of gps points created near E/W border not showing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8798 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-21 10:36:50 +00:00
wp_xxyyzz
df77354886 LazMapViewer: Fix markers disappearing occasionally if set near E/W border. Patch by Ekkehard Domning.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8796 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-20 13:32:52 +00:00
wp_xxyyzz
55c9a60bbb LazMapViewer: Add downloadengine based on WinInet (Windows only). Update fulldemo_with_addons. Remove Synapse openssl units from package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8703 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-12 23:02:11 +00:00
wp_xxyyzz
e343a8232f LazMapViewer: Improved handling of download uri protocol.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8702 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-12 17:39:04 +00:00
wp_xxyyzz
83b7ffa66d LazMapViewer: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8128 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-27 16:38:32 +00:00
wp_xxyyzz
2388ef8a3d LazMapViewer: Add missing GPSItems.Lock/Unlock to DrawTrack method.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8108 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-30 22:18:20 +00:00
wp_xxyyzz
ca72aa00be LazMapViewer: Make sure that the Cache path exists.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8107 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-30 22:16:04 +00:00
wp_xxyyzz
c155c7646e LazMapViewer: Add new TMapView method ObjsAtScreenPt to detect the GPS object under the mouse.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8106 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-30 12:57:54 +00:00
wp_xxyyzz
fc027d9ceb LazMapViewer: Add new GPSPoint type, TGpsPointOfInterest, which has an ImageIndex into the new POIImages of the MapViewer. Enhanced FullDemo to show the imagelist.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8104 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-29 21:46:44 +00:00
wp_xxyyzz
9fcf5de570 LazMapViewer: Add new properties LineColor and LineWidth to TGpsTrack. Add demo showing several individually colored tracks. Add some utility functions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8102 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-29 15:11:12 +00:00
wp_xxyyzz
9448894c7c LazMapViewer: Move sample projects to common folder "examples". New demo project "trackdemo".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8079 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-08-20 13:05:28 +00:00
wp_xxyyzz
9063163a69 LazMapViewer: Lock list of gps items during painting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8006 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-05-02 12:24:25 +00:00
wp_xxyyzz
b84c87da3c MapViewer: misc updates
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7971 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-02-15 17:59:50 +00:00
wp_xxyyzz
ef821b4227 LazMapViewer. Introduce "ZoomToCursor" feature. Issue #38284, patch by regs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7953 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-31 18:09:46 +00:00
wp_xxyyzz
cac83daa65 LazMapViewer: Change license to modified LGPL as discussed in https://forum.lazarus.freepascal.org/index.php/topic,49075.0.html. All authors agreed on the license change. License header added to all component files. Set version to 0.2.2 for new OPM release.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7365 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-04-09 11:06:15 +00:00
wp_xxyyzz
c6e498585b LazMapViewer: Add icon for BGRADrawingEngine to resource. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7338 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-22 17:08:13 +00:00
wp_xxyyzz
c67022ccfa LazMapViewer: Draw Point-of-interest image. Fix drawing of transparent bitmaps. Remove LCLDrawer from demo (not working).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6933 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-21 22:00:33 +00:00
wp_xxyyzz
0bce9628fc LazMapViewer: Clean up. Consistent naming of drawing engine classes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6927 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-18 22:31:49 +00:00
wp_xxyyzz
1049b25f44 LazMapViewer: Add drawing engine based on RGBGraphics package. Register in palette. Add units missing from previous commits.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6925 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-18 21:26:38 +00:00
wp_xxyyzz
0418e4b8d4 LazMapViewer: Initial version of a LCL drawing engine. Still buggy. Extend demo project to allow selection of drawing engines.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6924 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-18 17:10:33 +00:00
wp_xxyyzz
330ea06238 LazMapViewer: Introduce a drawing engine class to avoid the IFDEF'ed drawing instructions. Implement TIntfGraphicsDrawingEngine as default.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6923 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-18 09:52:46 +00:00
wp_xxyyzz
6b3072435f LazMapViewer: Add DebugTiles property to show tile boundaries.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6922 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-17 21:29:35 +00:00