Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Find Latitude and Longitude Using maps.google.com
Old 06-28-2010, 02:16 PM Find Latitude and Longitude Using maps.google.com
Super Talker

Posts: 128
Name: Jose daSilva
Trades: 0
Hi
Can somebody give me a tip were can I find a simple script just to do the same that the following site does.
I do not want to save the two values in any database. just for information without using the googkle maps.
I wat just to incorporate a script that gives the two coordinates of a physical address.
I could not find it any suitable ate API Google.
They all are sofisticated showing maps and using sql database.
Thank you
josil is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-28-2010, 05:30 PM Re: Find Latitude and Longitude Using maps.google.com
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
Dunno if this helps,

BUT:

goto maps.google.com , Find where ever you want.

Then type this into the address bar:
Code:
javascript:void(prompt('',gApplication.getMap().getCenter()));
And hit enter.

A popup will apear with the LAT LONG.

Im sure this can be implemented into some kind of curl request or similar.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 06-28-2010, 07:07 PM Re: Find Latitude and Longitude Using maps.google.com
Super Talker

Posts: 128
Name: Jose daSilva
Trades: 0
Quote:
Originally Posted by lynxus View Post
Dunno if this helps,

BUT:

goto maps.google.com , Find where ever you want.

Then type this into the address bar:
Code:
javascript:void(prompt('',gApplication.getMap().getCenter()));
And hit enter.

A popup will apear with the LAT LONG.

Im sure this can be implemented into some kind of curl request or similar.

I manage to have the map in an iframe, but does not allow me to right click on it, to choose a point and get the coordinates.

Do you know why?

Thanks
josil is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Find Latitude and Longitude Using maps.google.com
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11612 seconds with 12 queries