Commit Graph

58 Commits

Author SHA1 Message Date
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
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
9fcf346d74 LazMapViewer: Improved text rendering by IntfGraphicsDrawingEngine when text color is white
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9310 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-02 20:36:17 +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
b2c7b67f03 LazMapViewer: Fix package compilation and elevations demo with Laz 2.0.12
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9307 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-04-02 13:58:49 +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
alpine-a110
c02d8b5566 LazMapViewer: flights example: Added `Follow tightly' check box. Marked missing segments in QFA28, QFA95.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9303 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-30 18:13:54 +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
alpine-a110
8b3ac7d175 LazMapViewer: New example - Flight Track Logs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9297 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-28 23:41:26 +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
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
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
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
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
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
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