Commit Graph

25 Commits

Author SHA1 Message Date
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
d8caf811af LazMpaViewer: Keep the alpha channel when a new image is assigned to the TMapView.POIImage.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9319 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-03 22:17:47 +00:00
wp_xxyyzz
a82bd5d98a LazMapViewer: Add button to replace default POI image to fulldemo projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9318 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-03 21:39:31 +00:00
wp_xxyyzz
ebb5b52522 LazMapViewer: Fix GPSPointIntfo display in both fulldemo projects
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9311 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-02 21:29:43 +00:00
wp_xxyyzz
fb42932f2e LazMapViewer: Improved text rendering by IntfGraphicsDrawingEngine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9309 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-02 20:23:37 +00:00
wp_xxyyzz
1ab5a3d877 LazMapViewer: Fix height of POI text background color combobox in fulldemo (too small in Linux)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9305 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-31 16:52:57 +00:00
wp_xxyyzz
67d62d9719 LazMapViewer: Fix usage of CachePath and CacheOnDisk in some example projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9301 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-29 17:53:20 +00:00
wp_xxyyzz
d0103c8182 LazMapViewer: Add functions named "LatLon" in addition to the old ones named as "LonLat" and mark the old ones as deprecated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9298 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-29 08:59:35 +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
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
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
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
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
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
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
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
d6c8a34a63 lazmapviewer: Cleanup, less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8105 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-09-29 21:51:08 +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
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