Commit Graph

64 Commits

Author SHA1 Message Date
wp_xxyyzz
46db12e26f LazMapViewer: Introduce map projections (EPSG3857, EPSG3395). Refactor calculation of projection. Issue #38279, patch by regs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7948 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-30 14:42:32 +00:00
wp_xxyyzz
49db2e4ea8 LazMapViewer: Refactor map provider identification. Issue #38279, patch by regs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7947 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-30 10:31:41 +00:00
wp_xxyyzz
9d506bfa25 LazMapViewer: Extend TRealPoint with methods to convert from/to radians. Issue #38279, patch by regs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7946 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-30 09:28:31 +00:00
wp_xxyyzz
d4b3fedddd LazMapViewer: Fix compilation with FPC 3.2. Fix rgbgraphics package name.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7913 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-11-30 21:26:40 +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
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
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
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
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
59b8fabd5b LazMapViewer: Fix error 302 in Synapse download engine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6826 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-03-05 23:29:16 +00:00
wp_xxyyzz
70aa57d3bb lazmapviewer: Cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6809 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-27 18:44:08 +00:00
wp_xxyyzz
f962f9a439 lazmapviewer: Fix download of GeoNames.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6808 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-27 16:57:01 +00:00
wp_xxyyzz
d5f756b59e lazmapviewer: Less hints and warnings. Some cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6807 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-27 10:42:57 +00:00
wp_xxyyzz
136d3949bd lazmapviewer: Move synapse download engine package to the same location of main package. Add palette icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6798 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-23 18:42:29 +00:00