Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP link to MapQuest needed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00534002
Message ID:
00534072
Vues:
15
I'd suggest you consider this carefully for two reasons:
1) Mapquest can change the format of the URL at any time. If you use this approach, you'll have to check Mapquest frequently to see if they've changed their format.
2) Some sites don't appreciate third-party links to them. I don't believe that, legally, they can restrict you from doing this. But you might check with them and get permission. As a side benefit of this interaction, maybe they have a list of sites/programs which link to them, so they can keep you informed of any format changes.

Just some ideas ...
zahid

>Try this
>
>"http://www.mapquest.com/cgi-bin/ia_find?link=btwn%2Ftwn-map_results&random=565&event=find_search&SNVData=&address=" + lc_street + "
>&city=" + lc_city + " &State=" + lc_state + " &Zip= " + lc_zip + "&Find+Map.x=0&Find+Map.y=0"
>
>where:
>lc_street = "100 Main"
>lc_city = "Anytown"
>lc_state = "MI"
>
>If the zip code is not known the omit the " &Zip= " + lc_zip in the string.
>
>This was a "quick and dirty" by typing in an address at mapquest and copying the address form the browser when the map appeared. I ahve not actually tried this in VFP.
>
>Hope this helps.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform