Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Use Google Maps with the Business widget System 10.4
Using phanofwclark's People widget hint as a guide, it's easy to also make the Business widget use Google Maps.

As per robg's usual warning about modifying widgets, it's a good idea to copy the Business widget to your user's Library/Widgets folder first, and then modify that copy. By doing this, you will always have a pristine copy of the original widget should you ever choose to revert to it.

Once you've copied the Business widget to your user's Library/Widgets folder, control-click on it and choose Show Package Contents from the contextual menu. Find the file named PhoneBook.js, and open it in any text editor. We're going to replace line 987 (var mapURL = "http://www.daplus.us/showmap.aspx?";) through line 1009 (mapURL += "&Partner=appleyp";) with this snippet of code.

As you can see commented in the code, changing t=h (hybrid) into either t=m (plain map) or t=k (satellite map) will get you the type of map you desire. I just happen to prefer Google's hybrid maps, hence it's the default.

Save the file, close it, and you're done. Launch Dashboard and open (or reload) the Business widget. After searching for a business listing, clicking on its address will load it in Google Maps. Enjoy and again thanks to phanofwclark!
    •    
  • Currently 2.80 / 5
  You rated: 1 / 5 (5 votes cast)
 
[12,377 views]  

10.4: Use Google Maps with the Business widget | 6 comments | Create New Account
Click here to return to the '10.4: Use Google Maps with the Business widget' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use Google Maps with the Business widget
Authored by: apikoros on Feb 01, '06 06:20:52AM

This is going to sound ridiculous, but I don't have a "Business" widget. I can't even find it on Apple's widget site. I'm running OS 10.4.4. I have "People" and "Phone Book" widgets. Opening the Phone Book widget's package contents does reveal a file named "PhoneBook.js", but that does not contain the code referenced in this hint. Can someone clue me in here? Thanks.



[ Reply to This | # ]
10.4: Use Google Maps with the Business widget
Authored by: fogboy on Feb 03, '06 07:28:10AM

Are folks being able to get this to work? Unlike the above user, i do have the biz widget and have followed the instructions exactly. Yet when i try to use, clicking on the address has no effect at all. any ideas?



[ Reply to This | # ]
10.4: Use Google Maps with the Business widget
Authored by: wscody on Jul 09, '07 02:25:29PM

I got this to work, but I had to do the following:

1) QUIT the existing Business widget FIRST (also known as the Yellow Pages widget

2) Make the changes as described in the hint. I used the "t=m" option

3) Go back to the dashboard, and RE-LOAD the Business widget

4) Flip over the Business widget, and RE-ENTER your local information and preferences.

Works PERFECTLY. DA+ really blows - it's been constantly down for me!



[ Reply to This | # ]
not in 10.5 -- 10.4: Use Google Maps with the Business widget
Authored by: fogboy on Feb 06, '08 02:50:12PM

this hack does not seem to apply to 10.5. i used this in 10.4 and was a happy camper. correct me if i'm wrong, but in 10.5, the new version of the widget doesn't have the same .js file, the new one doesn't even mention daplus -- is it handled on apple's side now? i've mucked around with it but only broke the widget. anyone who can shed light, or better yet post here a fix wins the superhero award.

thanks.



[ Reply to This | # ]
10.4: Use Google Maps with the Business widget
Authored by: divincem on Aug 04, '08 11:49:11AM

Looks like the code is in parser.js. I don't no enough about Java Scripts functions has someone made this work with 10.5 and Google.

- Mike



[ Reply to This | # ]
10.4: Use Google Maps with the Business widget
Authored by: Allenwood on Jun 26, '10 03:51:10AM
foreign exchange - Best Currency Rates on Euro and Dollar. Foreign Currency for Business and Private Clients.
euro exchange rates - Foreign Currency Exchange is a UK foreign currency broker, providing currency exchange and exchange rate services using the best exchange rates.
engineering jobs in cumbria - A nuclear engineering firm has announced a major expansion and investment in west Cumbria. James Fisher Nuclear Services (JFNS) has awarded Carlisle-based Kier Construction a 1.5 million contract to design and build a test centre in Egremont.
accountancy vacancies cumbria - Essentially - many working in history based jobs and journalism based jobs in cumbria tend to take a less diplomatic view on this but essentially those that filled the project engineering jobs in cumbria at the time of the wall being built were protecting us.
sales jobs kendal - Role available in Kendal for confident and professional sales person needed to sell new media solutions.

[ Reply to This | # ]