Commit Graph

38 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
30180acdfb LazMapViewer: Add URL encoding method to DownloadEngine to fix failure in searching for city names with unsafe characters in mvGeoNames unit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9302 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-30 00:10:45 +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
alpine-a110
b1be720320 LazMapViewer: TMapViewer.CacheOnDisk property initialization fix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9300 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-29 16:31:09 +00:00
wp_xxyyzz
f2e3491fa5 LazMapViewer: Deprecate also TRealPoint.Init in favour of TRealPoint.InitXY and TRealPoint.InitLatLon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9299 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-29 09:15:14 +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
9a323d5529 LazMapViewer: Add new example project "elevations" reading elevations from opentopodata.org
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9184 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-30 12:46:27 +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
50ddeb9215 LazMapViewer: Increment version number to v0.2.6 for next OPM release
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9172 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-25 15:40:12 +00:00
wp_xxyyzz
48f8104206 LazMapViewer: Activate display of sample projects in Lazarus example window.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9168 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-24 18:37:10 +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
c7b2a5efda LazMapViewer: Remove drawing residues outside the map tiles. Patch by Yuliyan Ivanov.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9142 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-15 11:51:35 +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
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
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
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
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
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
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
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