Commit Graph

70 Commits

Author SHA1 Message Date
wp_xxyyzz
d7364ed9f8 lazmapviewer: set "maximize compatibility" flag of packages to make them readable for non-trunk Laz versions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7600 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-08-12 15:16:21 +00:00
wp_xxyyzz
074d9a39b8 LazMapviewer: Extend the demo to provide an UI for changing how GPS points are displayed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7460 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-05-16 17:50:12 +00:00
wp_xxyyzz
984af77ce6 LazMapViewer: Set version number of development version to v0.2.3.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7366 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-04-09 11:44:44 +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
7c43c78f0c LazMapViewer: Set version number 0.2.1. Change license to "LGPL 2 or later" instead of "GLP 2 or later" - see forum discussion https://forum.lazarus.freepascal.org/index.php/topic,34297.msg354142.html#msg354142.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7340 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-23 23:01:18 +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
9ab37029e4 LazMapViewer: Set version number of main package and add-on packages to v0.2 for release in OPM.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7337 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-22 16:13:53 +00:00
wp_xxyyzz
a820f8ee99 LazMapViewer: Add icon for TMvBGRADrawingengine. Less hints. Preparing for release.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7336 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-22 15:53:21 +00:00
wp_xxyyzz
2ba2c46cf2 LazMapViewer: Fix compilation with Laz 1.8.4
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7333 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-20 14:51:20 +00:00
wp_xxyyzz
35dfdbdf7a LazMapViewer: Some cleanup
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7332 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-03-19 23:23:36 +00:00
wp_xxyyzz
f830900825 lazmapviewer: Duplicate example project to demonstrate usage without external drawing engines. Cache folder is shared between both demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7185 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-12 17:46:50 +00:00
wp_xxyyzz
8c879bfca5 lazMapViewer: Fix memory leaks. Patch by jc99 (https://forum.lazarus.freepascal.org/index.php/topic,47164.msg337315.html#msg337315).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7171 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-10-25 08:44:07 +00:00
wp_xxyyzz
1a83d68689 lazmapviewer: Better fix for crash when painting outside the buffer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7170 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-10-24 13:09:56 +00:00
wp_xxyyzz
28f7fccd9f lazmapviewer: Add new drawingengine based on BGRABitmap. Kindly provided by forum user jc99 (https://forum.lazarus.freepascal.org/index.php/topic,47164.msg337229.html#msg337229).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7169 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-10-24 13:03:45 +00:00
wp_xxyyzz
7e20dce069 lazmapviewer: Fix crash when painting outside the buffer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7168 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-10-24 10:02:19 +00:00
wp_xxyyzz
bc42242dc3 lazmapviewer: Add synapse's ssl_openssl units to fix compilation of laz_mapviewer_synapse package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-10-20 08:41:04 +00:00
wp_xxyyzz
07318de5e6 lazmapviewer: Make TGpsObj.IDOwner public (https://forum.lazarus.freepascal.org/index.php/topic,12674.msg323330.html#msg323330)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7008 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-06-12 22:12:40 +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
wp_xxyyzz
1aaebb2780 LazMapViewer: Zoom to bounds of points in loaded gpx file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6921 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-17 20:28:46 +00:00
wp_xxyyzz
e3105224c0 LazMapViewer: Center gpx track after loading.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6920 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-17 16:52:19 +00:00
wp_xxyyzz
3d061ebeb1 LazMapViewer: Read track color and linewidth from gpx extensions node. Add properties DefaultTrackColor and DefaultTrackWidth.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6916 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-16 21:37:34 +00:00
wp_xxyyzz
b1b663cbbe LazMapViewer: Add support of GPX files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6913 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-15 09:36:08 +00:00
wp_xxyyzz
505f61a073 LazMapViewer: Save gps points in demo and reload as a gps track.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6911 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-12 21:40:37 +00:00
wp_xxyyzz
2e29cc575c LazMapViewer: Add urls for OpenWeatherMaps.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6889 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-04 17:11:26 +00:00
wp_xxyyzz
f3098589fc lazmapviewer: Fix download of HERE maps with fphttpclient.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6888 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-01 15:40:15 +00:00
wp_xxyyzz
5c2ed7f07a lazmapviewer: Add HERE maps (registration required).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-30 22:22:18 +00:00
wp_xxyyzz
7ea250941e lazmapviewer: Fix image format error on Linux (introduced by r6884).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6886 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-29 20:18:18 +00:00
wp_xxyyzz
7cde99951d lazmapviewer: Remove links to the Ovi maps which do not exist any more.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6885 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-29 17:06:31 +00:00
wp_xxyyzz
8cd3f5784d lazmapviewer: Fix painting of maps on Mac.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6884 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-29 16:59:29 +00:00
wp_xxyyzz
f07562d3cb lazmapviewer: Fix mismatch of checked items for distance calculation after r6879 (https://forum.lazarus.freepascal.org/index.php/topic,12674.msg319432.html, patch by sstvmaster).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6883 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-28 20:48:23 +00:00
wp_xxyyzz
d295accb2e LazMapViewer: Fix crash of demo when deleting a GPS point.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6880 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-28 16:31:34 +00:00
wp_xxyyzz
e9fb70d301 LazMapViewer: Add distance measurement between user-provided points (https://forum.lazarus.freepascal.org/index.php/topic,12674.msg319269.html, patch by sstvmaster).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6879 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-28 11:28:55 +00:00
wp_xxyyzz
efd629624c lazmapviewer: Use E/W and N/S suffixes to GPS coordinates.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6868 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-25 19:42:50 +00:00
wp_xxyyzz
fb276886e4 lazmapviewer: Improved numerical stability of geo distance calculation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-25 17:43:20 +00:00
wp_xxyyzz
6ec131a022 lazmapviewer: Add geo distance calculation (patch by sstvmaster, https://forum.lazarus.freepascal.org/index.php/topic,12674.msg318879.html#msg318879).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6865 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-24 22:36:59 +00:00
wp_xxyyzz
bbef9faf38 lazmapviewer: Add methods to extract full buffer bitmap (SaveToImage) and to save it to file (SaveToFile) or stream (SaveToStream). Forum request https://forum.lazarus.freepascal.org/index.php/topic,12674.msg318676.html#msg318676
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-23 19:50:39 +00:00
wp_xxyyzz
327fca5d9e LazMapViewer: Add OpenTopoMaps map provider.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6840 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-29 09:27:34 +00:00
wp_xxyyzz
d37e9b5a6e LazMapViewer: Add import/export of map providers to/from xml file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6839 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-27 18:56:52 +00:00
wp_xxyyzz
0d88ca9dcc LazMapViewer: Add URLs for Google maps.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6838 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-27 11:56:21 +00:00
wp_xxyyzz
660e0190e3 lazMapViewer: Improved layout of demo program
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6837 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-25 17:39:31 +00:00
wp_xxyyzz
e3d62278c5 LazMapViewer: Fix bitmap format error in Linux.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6836 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-25 17:30:10 +00:00
wp_xxyyzz
0c3c974b0e LazMapViewer: Fix compilation with FPC 3.2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6835 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-22 23:15:55 +00:00
wp_xxyyzz
9f7de9f224 lazmapviewer: Fix compilation when USE_RGBGRAPHICS is defined. Set name of built-in download engine.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6834 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-22 23:11:50 +00:00
wp_xxyyzz
ddd6428ace lazmapviewer: Cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-22 23:09:44 +00:00
wp_xxyyzz
cadad7b0aa LazMapViewer: Fix usage of threads in demo project on Linux/Unix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6828 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-06 06:11:46 +00:00