Recent

Author Topic: Show points into a map and have a pop-up menu(rightclick them)according long,lat  (Read 1769 times)

donnie

  • Jr. Member
  • **
  • Posts: 72
Hi there,
I have read all the topics with TmapViewer and I am still searching how to show a list of points(with long,lat) into a map with pins.
Should I use TmapViewer or TMVMapViewer? What are the differences?
If I show the points with pins (or smth else) can I have a right click with a pop up menu on them (different menu according the long lat)? Does it support it?
As I saw in other relative topics this issue seems to be solved but haven't found any answer.
http://forum.lazarus.freepascal.org/index.php/topic,12674.msg66284.html#msg66284
I used TmapViewer and it seems to be a little slow. I opened the roadbook example (from CodeOcean\GeoGIS\samples) which uses TMVMapViewer and it seems to work much better and faster.
Any ideas accepted...
Thanks in advance,
Donnie



Phil

  • Hero Member
  • *****
  • Posts: 2737
Should I use TmapViewer or TMVMapViewer?

I've never heard of TMVMapViewer. TMapViewer I would not use because of its license - if you distribute your program that uses TMapViewer, you must also make your program's source code available.

Here are some GIS notes:

https://macpgmr.github.io/MacXPlatform/PascalDynLibs_3.html

You may find this interesting too:

https://macpgmr.github.io/MacXPlatform/WebAppOverview_2.html

donnie

  • Jr. Member
  • **
  • Posts: 72
Thanks Phil,
As my software is not a web app I didn't want to involve JSON. But I might be forced to do it.
It is also multiplatform (Linux/Windows).  At this time I don't use anything from TMapViewer or TMVMapViewer. I am searching for the right component to show some points in the map fast and easy. I thought that it could be easier just reading a list with points (with log,lat) and just add a mark into the map (and if possible to zoom in an area).
But as it seems it is not. I am a little confused which way to use. I don't mind to use TMapViewer.
Thanks for your links.

 

TinyPortal © 2005-2018