mawg 0 Posted October 30, 2019 I have been away from Delphi for a few years now. During that time, I have been coding browser apps in JavaScript using Leaflet to show Open Street Maps. I have a new cross platform app to develop, using either Google's Flutter or Delphi, and would prefer Delphi. How to go about it? Is there a VCL component (or do I need FMX? I didn't do any cross-platform until now)? Or should I just use a TWebBrowser component? Would that be truly cross platform on Windows, Linux, Mac, Android & iOS? I see no reason why not, but would prefer to double check before starting. Share this post Link to post
Fr0sT.Brutal 900 Posted October 31, 2019 I made open-source Delphi VCL / Lazarus LCL component here. Currently not much features but usable Share this post Link to post
limelect 48 Posted October 31, 2019 @mawg I did try a wile ago open street map it was too slaw. I did not like the result. I think the only good way is google map. There are a few VCL components . just Google. https://sourceforge.net/projects/gmlibrary/ Share this post Link to post
dummzeuch 1517 Posted October 31, 2019 (edited) 15 hours ago, limelect said: @mawg I did try a wile ago open street map it was too slaw. I did not like the result. I think the only good way is google map. There are a few VCL components . just Google. https://sourceforge.net/projects/gmlibrary/ You may need a license to use Google Maps, while Open Street Map is free, you can even host your own map server. Also, I would rather trust in OSM than Google that they keep their service available and the APIs mostly unchanged. (Just remember why this forum exists. G+ anybody?) Edited November 1, 2019 by dummzeuch 4 Share this post Link to post
Anders Melander 1815 Posted October 31, 2019 4 hours ago, dummzeuch said: Also, I would rather trust in OSM than Google that they keep their service available Amen! https://killedbygoogle.com/ 1 3 Share this post Link to post
Alexander Elagin 143 Posted November 1, 2019 DevExpress also offers a map control which supports OSM: https://www.devexpress.com/products/vcl/map/ Share this post Link to post
enesgeven 6 Posted November 2, 2019 (edited) There is very powerful component for VCL and FMX. TECNativeMAP http://www.helpandweb.com/ecmap/en/tecnativemap.htm Edited November 2, 2019 by enesgeven 1 Share this post Link to post
Guest Posted November 2, 2019 On 10/31/2019 at 10:46 PM, Anders Melander said: https://killedbygoogle.com/ Ah! Thanks! I was thinking about doing something like that myself. Share this post Link to post
mawg 0 Posted November 3, 2019 On 10/30/2019 at 12:28 PM, Rollo62 said: CrossPlatform = FMX TMS OSMaps A great suggestion. I used to subscribe to the full VCL pack, so know their stuff is good and support is excellent. Well worth Eur 95, I imagine Share this post Link to post
Danxy 0 Posted June 24, 2020 On 10/31/2019 at 9:07 AM, Fr0sT.Brutal said: I made open-source Delphi VCL / Lazarus LCL component here. Currently not much features but usable It's really handy component just what I need, but it would be really great if you could add function for drawing a line from one to another coordinate. I tried to do this, spent a couple of hours but I'm new in Delphi and it is just to complicated for me :). Share this post Link to post
Fr0sT.Brutal 900 Posted July 23, 2020 On 6/24/2020 at 10:57 AM, Danxy said: It's really handy component just what I need, but it would be really great if you could add function for drawing a line from one to another coordinate. I tried to do this, spent a couple of hours but I'm new in Delphi and it is just to complicated for me :). Thanks! Plz could you fill an issue at Github so that it won't be forgotten. Meanwhile you could refer to OSM.MapControl.pas TMapControl.DrawMapMark for ideas of how to draw and try OnDrawMapMark callback to do what you need. Share this post Link to post