Commit Graph

141 Commits

Author SHA1 Message Date
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
4b37ed5ca7 LazMapViewer: Fix trackdemo project not updating track marker. Patch by Yuliyan Ivanov.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9093 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-19 11:04:23 +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
0fc3e8cf50 LazMapViewer: Add proxy support to WinINet download engine. Adapt both "fulldemo" samples.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9031 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-17 15:56:49 +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
71a45035c5 LazMapViewer: Disable creating the cache directory at designtime. Partial sync with main full_demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8840 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-20 10:45:59 +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
834d895879 LazMapView: More additional map providers, submitted by kangozidev (https://github.com/wp-xyz/lazmapviewer/issues/2)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-12 13:10:44 +00:00
wp_xxyyzz
a547bbc37f LazMapViewer: Destroy empty tile image introduced in r8830.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-12 10:12:11 +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
2b8e8ceeff LazMapViewer: Some more Google map providers, submitted by kangozidev.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8829 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-10 10:13:39 +00:00
wp_xxyyzz
bb5792ab0a LazMapViewer: Fix URL of "Google Satellite" map provider. Patch by kongozidev
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8828 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-09 18:39:29 +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
1dee56cfe6 LazMapViewer: Add project group with all packages, sample files and unit test project
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8814 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-26 14:18:35 +00:00
wp_xxyyzz
acf3f801a4 LazMapViewer: Add ex-meta files to include the sample projects in the IDE's new examples window.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8813 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-26 11:41:34 +00:00
wp_xxyyzz
d8a7fd7717 LazMapViewer: Fix typo in TMvIntfGraphicsDrawingEngine.PaintToCanvas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8812 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-25 21:34:10 +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
26a3a6a484 LazMapViewer: Fix logical area operations to be compatible with reversed longitudes when the dateline is crossed. Add unit tests for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8806 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-25 17:15:41 +00:00
wp_xxyyzz
f704502528 LazMapViewer: Reactivate commit #8789 (panning across dateline).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8805 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-25 11:30:49 +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
7461eaa8fc LazMapViewer: Add Ekkehard Domning to author list.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8797 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-21 10:23:14 +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
2b8ffd7796 LazMapViewer: Attempting to fix occasional crash at destruction. Patch by Ekkehard Domning
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8794 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-20 11:09:34 +00:00
wp_xxyyzz
649286bb6b LazMapViewer: Add unit test for distance calculation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8793 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-18 17:48:01 +00:00
wp_xxyyzz
7ce64ac4b8 lazmapviewer: Fix issue in new function ZoomFactor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8791 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-17 16:01:03 +00:00
wp_xxyyzz
7a09190330 mapviewer: Replace repeated calls to IntPower(2,..) by table lookup function ZoomLevel. Add elemental unit tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8790 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-17 15:42:06 +00:00
wp_xxyyzz
a530b02b06 lazmapviewer: Allow to scroll beyond the date limit. Patch by Ekkehard Domning (https://www.lazarusforum.de/viewtopic.php?p=135037).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8789 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-15 09:44:43 +00:00
wp_xxyyzz
7b29fa40dc LazMapViewer: Fix track demos (hick-up with previously used map provider).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8774 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-24 14:00:36 +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
f083df12eb LazMapViewer: Extend download engines to be able to handle local files (https://www.lazarusforum.de/viewtopic.php?f=18&t=14790).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8701 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-12 13:28:53 +00:00
wp_xxyyzz
5747ba1ca5 LazMapViewer: Fix rounding error in GPS float to degrees-minutes-seconds conversion.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8582 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-28 15:34:01 +00:00
wp_xxyyzz
3c11c8c7d0 LazMapViewer: Extend fulldemo to show how a map can be printed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8273 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-05-03 11:46:11 +00:00
wp_xxyyzz
05745e2252 LazMapViewer: Repeat incomplete previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8268 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-04-27 16:44:11 +00:00
wp_xxyyzz
6b48ad28ce LazMapViewer: Fix write-permission and file-not-found issues in fulldemo on Mac.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8267 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-04-27 16:28:40 +00:00
wp_xxyyzz
a788601c66 lazmapviewer: Fix usage of UTF-8 in search function. SourceForge issue #52, patch by Manhisz Vanna
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8200 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-02-25 21:25:02 +00:00
wp_xxyyzz
a4971e7930 LazMapViewer: Fix centering error when either longitude or latitude of center point is changed. Sourceforge bug #51.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8184 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-12-30 23:24:38 +00:00
wp_xxyyzz
7c3d69fa44 LazMapViewer: Fix crash in demo when "go to point" is selected after loading a saved track.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8183 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-12-30 23:22:49 +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
97d465e2b3 LazMapViewer: Fix trackdemo sample. Add checkbox to use threads.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8110 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-30 22:38:03 +00:00
wp_xxyyzz
362b046840 LazMapViewer: Use threads in colored_tracks sample project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8109 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-30 22:22:25 +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