Jump to content
Sign in to follow this  
Musicman

Using Google Maps to solve Autotrader irritation

Recommended Posts

Autotrader are nice enough to tell you how far a car you're interested in is from where you live. The problem with it is that not all distances are equal. 40 miles to the other side of London is not as easy as 40 miles straight down the A3. If you're using public transport, you might prefer things to be the other way round. Sometimes you can't easily get hold of the seller and want to know whether it's worth trying to follow it up.

 

Google have an API that allows you to do stuff with Google maps like add overlays. With a little messing about you can get it to draw lines over the top of Gmaps.

 

So... I've put that to use here in a prototype page I built:

 

http://www.cybertects.co.uk/gmaps

 

Do three searches on Autotrader using the post codes provided as your location, enter the distances into the grid and where the circles overlap tells you where the car is located. :)

 

What do you reckon? Useful?

Share this post


Link to post
Share on other sites

nice work!

 

now what'd be REALLY cool is a plug in for google earth that has on-map flags for cars for sale on autotrader that lets you click and go directly to the autotrader advert! theres a plug-in that displays 'local' photos from flickr using geographical information, sort of simular!

Share this post


Link to post
Share on other sites

Would be very cool. However, I suspect that Autotrader would charge heavily for direct access to their data and/or AutoBuilder APIs from another site, which is what you would need to do that - it's the kind of thing that Yahoo! have done replacing their old Yahoo! Autos marketplace in the US earlier this year.

Share this post


Link to post
Share on other sites

Ta :)

 

I'd stick with the first URL for the time being. That's the one I'll keep updated (just did a bit of tidying up of the JavaScript code and making it all flow a bit more logically) and add other Google Maps-based ideas as and when they occur to me. The other one's liable to disappear. ;)

Share this post


Link to post
Share on other sites

Nice idea and good work, but a. if you cant get hold of the seller you'll have trouble following it up, and b., you can get a rough location from the dialling code anyway! I like it tho, could come in handy..maybe :)

Share this post


Link to post
Share on other sites

Fair points.

 

I just found myself drawing circles in Photoshop trying to work out whether I could be bothered to try calling a mobile number on a bit of a flyer and thought there had to be an easier way and little things like this help keep my JavaScript skills from going completely rusty. :)

Share this post


Link to post
Share on other sites

just been looking at a car on autotrader and wanted to check where it was.. remembered this handy webpage and thought i should bump the thread.

Share this post


Link to post
Share on other sites

the google maps api isn't completely accurate (but can give you a closer assumption than most) because of the legalitys of it and the fact royal mail aren't getting a cut of the lookups... (sorry if im busting your bubble) but great stuff... did something like this for a retailer search recently for one of our clients :)

Share this post


Link to post
Share on other sites

Oh, wish I'd known about this while I was looking for my Corrado. I did think of entering different postcodes myself to try and track the locations down but it would have been much easier if I'd used that site, good work.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...