Home » Developer & Programmer » Forms » How to show coordinates on Google Map
How to show coordinates on Google Map [message #683320] Tue, 29 December 2020 00:01 Go to next message
alhakimy
Messages: 56
Registered: December 2016
Member
hi all

I have a text item that has GPS coordinates like this

51.815150, 5.521924

I want to make a button when I press it, these coordinates appear to me on Google Maps

Is this possible
Re: How to show coordinates on Google Map [message #683321 is a reply to message #683320] Tue, 29 December 2020 01:46 Go to previous messageGo to next message
jury68000
Messages: 18
Registered: October 2019
Junior Member
I'm not sure if its possible to use coordinates in the format you gave (51.815150, 5.521924)
But if you would convert that format to this format: 51°48'54.5"N+5°31'18.9"E
then in Forms under the button just write something like:
HOST('"c:\Program Files\Internet Explorer\iexplore.exe" "https://www.google.com/maps/place/' || :block3.text_item1 || '"');
and it works fine.
Re: How to show coordinates on Google Map [message #683322 is a reply to message #683321] Tue, 29 December 2020 03:10 Go to previous messageGo to next message
alhakimy
Messages: 56
Registered: December 2016
Member
Thank you very much, it works well
Re: How to show coordinates on Google Map [message #683323 is a reply to message #683320] Tue, 29 December 2020 08:49 Go to previous message
alhakimy
Messages: 56
Registered: December 2016
Member
there is a problem

My project is running on vps
And contact him from the client via the following link
http://xxx.180.213.161:8889/forms/frmservlet?config=km
The problem is when I press the button
The map open on the server, not in my client
Previous Topic: compare value with recod group query
Next Topic: How do I get it to work in my client
Goto Forum:
  


Current Time: Sat Apr 17 10:40:23 CDT 2021