Commit Graph

43 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
0a3e34cd0b lazmapviewer: Add event OnDrawGpsPoint for custom drawing of gps points.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6796 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-18 16:54:16 +00:00
wp_xxyyzz
da045c8ab0 lazmapviewer: Add display of mouse-over gps-point-infos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6795 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-18 08:34:02 +00:00
wp_xxyyzz
9fac446b61 LazMapViewer: Extend demo to show how to add GPS points.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6793 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-17 23:09:41 +00:00
wp_xxyyzz
c721b9d5a4 lazMapViewer: cosmetics
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6532 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-26 13:05:22 +00:00
wp_xxyyzz
3b85bc30e6 lazMapViewer: Fix memory leak in example/MapViewer_Demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6531 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-25 17:29:45 +00:00
wp_xxyyzz
d70b3d3e26 lazMapViewer: More cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6314 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-16 21:57:42 +00:00
wp_xxyyzz
119046bcbc lazMapViewer: Cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6313 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-16 21:06:30 +00:00
wp_xxyyzz
83e1ee6f4f lazMapViewer: Activate GeoNames component in demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6311 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-16 17:57:58 +00:00
wp_xxyyzz
eb727001e8 lazMapViewer: some additions to demo program
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6310 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-16 16:35:14 +00:00
wp_xxyyzz
60e3e16e2d lazMapViewer: Remove dependence on synapse
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6308 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-16 15:15:27 +00:00
wp_xxyyzz
c76a4f904a lazMapViewer: Initial commit to CCR (based on Maciej Kaczkowski (https://github.com/maciejkaczkowski/mapviewer) and ti-dic's (https://sourceforge.net/p/roadbook/code/ci/master/tree/mapviewer/) MapViewer components. Removed dependence on RGB_Graphics. Rename TMapViewer to TMapView and TMVGLGeonames to TMvGeoNames to avoid naming conflicts with original packages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6307 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-16 13:59:19 +00:00