MapQuest does not seem to support postal codes for Canadian addresses.

Here is an example (with and without a space in the middle of the postal code):
http://www.mapquest.com/maps/map.adp?searchtype=address&country=CA&addre...
http://www.mapquest.com/maps/map.adp?searchtype=address&country=CA&addre...

If you remove the last query parameter, zipcode, then it works:
http://www.mapquest.com/maps/map.adp?searchtype=address&country=CA&addre...

Also if you set the zipcode to the first three characters of the post code also works:
http://www.mapquest.com/maps/map.adp?searchtype=address&country=CA&addre...

Using only the first three characters is strange, but this is what MapQuest does when it displays a Canadian address. Go figure.

Also, the Canadian MapQuest site is http://www.mapquest.ca/, and not http://www.mapquest.com/

The fix is trivial, in location_map_link_ca_mapquest just comment out the zipcode related code and change the domain in the URL to www.mapquest.ca

Comments

bdragon’s picture

Component: Code » Data update

Changing component to Data update.

yesct’s picture

Status: Active » Closed (duplicate)