View Full Version : Open Google Maps from PIE?
tpmwr
14th April 2008, 01:21 AM
Is there any ways to make a link in PIE open Google Maps and pinpoint an address. I have searched around and haven't had much luck. I am trying to write a script for an office I work at that would show a customer's address and have a little link to open google maps to this address. If that doesn't exist, is there any type or mortscript that could do this for me?
-Anthony
TheChampJT
14th April 2008, 03:19 AM
Why not use Live Search? Just keep your customers address in your contact and from there you can map it from contact listings. Not to mention you can connect with GPS.
tpmwr
14th April 2008, 03:33 AM
Because I am going to be having office staff update a page that the employees will load from the phone in PIE that has that day's customer's info, we currently have over 6,000 some customers so keeping them all in contacts would be overwhelming, if I could launch Live Seach with an adress from PIE that would work too though
TheChampJT
14th April 2008, 03:46 AM
One problem with trying to launch an address from PIE, is that is doesn't recognize it as anything other than plain text, sometimes it doesn't even recognize phone numbers unless in just the right format. Not sure you can change that, may be extremely difficult, the only thing I can think of is to make the addresses in your database a link to the map. But then all info would have to be changed. You could always glance at the address, then say it in Live Search.
tpmwr
14th April 2008, 03:54 AM
I need it to be one lick, I can make numbers one click by using: <a href="tel:5551235555"> as the link, the 'tel:' command is what makes this work, I need a command like that for google maps or live search, etc
TheChampJT
14th April 2008, 04:43 AM
Like you said before about MortScript, that's your best bet. You would need the script on your end and most likely something on your webage that way the two pieces recognize each other for the link. I'm no good with it, but there is a thread dedicated on writing the scripts. The main thing you need for Live is the command line that would transfer the data to the search field. For Google Maps, or any online map site, you may be able to have it look something like:
"http://www.mapquest.com/maps/%E2%80%8E10+market+st+san+francisco+ca/"
The bolded info would be replaced, or entered with the correct info. I tried Google Maps first, the map itself is embedded so I couldn't pull the query result off the URL.
tpmwr
14th April 2008, 04:47 AM
Well I actually want to use the Google Maps or Live Search program instead of the web versions
TheChampJT
14th April 2008, 04:50 AM
Good luck finding the answer! Once you can find the line for the search command and find a way to transfer the data properly to that line you've got it! Sorry I couldn't help more.
tpmwr
14th April 2008, 05:29 AM
I've managed to open Google Maps via pie by altering the way the mmsu:// call works, I tried to creat my own protocol in the registry by copying and renaming the mmsu folder in the reg but it didn't work. The issue I have not is what flags I would have to add to make google maps pull up and address, such as "googlemaps.exe" -address 90210, etc
ipaqkiller
14th April 2008, 07:00 AM
The issue I have not is what flags I would have to add to make google maps pull up and address, such as "googlemaps.exe" -address 90210, etc
I've tried that and I can't get it to work with version 2.0.1.28.
Are you saying you have gotten google maps to open and go to the address you tell it from the command-line?
tpmwr
14th April 2008, 09:20 PM
I've tried that and I can't get it to work with version 2.0.1.28.
Are you saying you have gotten google maps to open and go to the address you tell it from the command-line?
No, i got google maps to open, but NOT to pinpoint the address. Thats the issue I am trying to still resolve.
DeadWatch
18th April 2008, 01:01 PM
Well, the long/lat is a simple call to the google api, though for commercial use you'd need to use http://www.google.com/enterprise/maps/
Now, if the client supports arguments and such, that's another story entirely. :)
Rumball
3rd February 2009, 10:43 PM
Has there been any progress in this? I'm thinking that Google must have added command line arguments to googlemaps.exe because Manila / TouchFlo2D is able to interact with the google application. If this is the case, does anyone know the command line arguments for googlemaps.exe?
EDIT:
Never mind...I figured it out by taking a look in Manile2D.exe...to start GoogleMaps with an address simply pass the following command line argument when calling GoogleMaps.exe
-URL \"http://www.google.com/gmm/x?action=BUSI&q=...\"
Replace ... with your search string.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.