wp_xxyyzz
d80d4c79f5
LazMapViewer: Restrict zoom level to allowed range. Part of issue #39111 .
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9665 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-08 21:28:25 +00:00
wp_xxyyzz
62dad16629
LazMapViewer: Cleanup
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9660 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-04 10:09:01 +00:00
wp_xxyyzz
5c8d6b0cb2
LazMapViewer: Less hints and warnings.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9659 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-04 09:25:12 +00:00
wp_xxyyzz
9bb978ae0f
LazMapViewer: Provide method to clear the tile cache. Issue #39103 .
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9619 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-06 10:52:03 +00:00
wp_xxyyzz
46e39361c5
LazMapViewer: Rename map provider "OpenStreetMap Mapnik" to "OpenStreetMap Standard", issue #39098 . Adjust sample projects to the new provider name.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9607 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-28 10:21:55 +00:00
wp_xxyyzz
5fbafff4bf
LazMapViewer: mvCache update (code by Ekkehard Domning):
...
- Add property for the maximum number of tiles kept in memory (linked to MapView by Engine)
- Cache items stored in TFPObjectList rather than StringList
- Sorted StringList for faster searching.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9574 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 16:54:05 +00:00
wp_xxyyzz
58f351f6c9
LazMapViewer: Reorganize cache directory to <provider>/<zoom> hierarchy
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-18 16:54:43 +00:00
wp_xxyyzz
a78cbdc5e6
LazMapViewer: Sync with dev version (726b708e19): New event OnGPSItemsModified, new grid plugin, bug fixes, less hints and warnings.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9520 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-12 10:15:13 +00:00
alpine-a110
e31e0c3983
LazMapViewer: FPC 3.0.x compatible FMod()
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-04 07:17:41 +00:00
alpine-a110
fe61cb686e
LazMapViewer: Fixed all instances of a POI disappear at a certain position in the MapView. Issue #3982 (1).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9509 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-03 17:14:31 +00:00
wp_xxyyzz
244c9fa2b2
LazMapViewer: Undo r9494, not usable. Scale all tiles to the size specified by global TileSize variable. Alpha-channel of RGB32BBitmap and BGRABitmap drawing engines not correct, so far. (Issue #39078 ).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9497 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-04 17:20:17 +00:00
wp_xxyyzz
873d0f4a91
LazMapViewer: Improved restricted panning along the edge of the allowed area.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9495 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-02 23:40:32 +00:00
wp_xxyyzz
1f22d2634b
LazMapViewer: Support tile sizes other than 256x256 (experimental feature). Add OpenRailwayMap provider for 512x512 tiles.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9494 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-11-02 14:58:29 +00:00
wp_xxyyzz
eb6ddb92e4
LazMapViewer: Add OnCenterMoving and OnZoomChanging events. Issue CCR-#39077
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9493 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-10-31 12:46:24 +00:00
wp_xxyyzz
a204dfcd7a
LazMapViewer: Avoid new cache-downloadengine to hang when cache file does not exist.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9490 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-10-22 15:32:25 +00:00
wp_xxyyzz
b6619dd30e
LazMapViewer: Add download engine which accesses only the local cache.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9489 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-10-22 12:33:30 +00:00
wp_xxyyzz
243e25f62b
LazMapViewer: Less hints and warnings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9473 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-09-30 15:44:03 +00:00
wp_xxyyzz
744fe8c3a3
LazMapViewer: Fix TMapViewerEngine.CrossesDateLine. Based on patch by Ekkehard Domning. Less hints and warnings.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9352 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-05-26 21:18:18 +00:00
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
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
1962802720
LazMapViewer: ZoomMin and ZoomMax restrictions when zooming with the mouse.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9295 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-28 14:51:19 +00:00
alpine-a110
9f6e255450
LazMapViewer: TMapView.CyclicPointsOf fix of array length. CalcIntermedPoint parameters check.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9294 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-28 14:48:50 +00:00
alpine-a110
0c1a27965b
LazMapViewer: Calculation of bearing, target point by bearing, midpoint, intermediate point. First, Last of TMapCollection, TMapPoint.ToScreen property. TGPSTrack draw event and ConnectColor/Width properties. Better GPX import/export.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9292 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-28 14:28:13 +00:00
alpine-a110
b651135f37
LazMapViewer: Drag button check (mbLeft) moved from Engine to MapView. Added Start/End/AbortDragging methods. GetObjectsInArea with a class filter.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9288 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-28 13:36:09 +00:00
alpine-a110
3f0fa39576
LazMapViewer: Added option TMapViewOption.mvoLatLonInDMS to show/edit Latitude and Longitude in deg-min-secs.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9270 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-03-05 16:57:24 +00:00
alpine-a110
f991ac6415
LazMapViewer: Map providers defaults to NONE. Map view cannot be activated in such a case.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9232 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-10 16:55:28 +00:00
alpine-a110
e9e5b18ab3
LazMapViewer: Check compatability of provider projection type against the base provider.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9227 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-09 12:50:20 +00:00
alpine-a110
ea1efb8066
LazMapViewer: Added layers collection and center point to the map. Map can be activated into the form designer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9226 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-02-09 06:46:54 +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
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
b95f2c36b8
LazMapViewer: Fixes issues with painting/multithreading. Issue #39063 , patch by Yuliyan Ivanov.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9092 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-18 16:56:22 +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
d9eb6e9065
LazMapViewer: Introduce fast FillPixels as new drawingengine method in order to avoid using the blank tile image.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8834 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-13 11:26:22 +00:00
wp_xxyyzz
834d895879
LazMapView: More additional map providers, submitted by kangozidev ( https://github.com/wp-xyz/lazmapviewer/issues/2 )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-12 13:10:44 +00:00
wp_xxyyzz
a547bbc37f
LazMapViewer: Destroy empty tile image introduced in r8830.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-12 10:12:11 +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
2b8e8ceeff
LazMapViewer: Some more Google map providers, submitted by kangozidev.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8829 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-10 10:13:39 +00:00
wp_xxyyzz
bb5792ab0a
LazMapViewer: Fix URL of "Google Satellite" map provider. Patch by kongozidev
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8828 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-06-09 18:39:29 +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
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
f704502528
LazMapViewer: Reactivate commit #8789 (panning across dateline).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8805 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-25 11:30:49 +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
daa01d1ce6
lazmapviewer: Revert "periodic world" commits #8789 , #8796 , #8798 (too many issues).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8799 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-04-22 09:48:34 +00:00