yahoo.com/pipes/pipe.info?location=94720&what=cafes&mindist=2&
=Run+Pipe&_id=1mrlkB232xGjJDdwXqIxGw&_run=1
You can get KML output from Yahoo! Pipes from the following:
http://pipes.yahoo.com/pipes/pipe.run?_id=1mrlkB232xGjJDdwXqIxGw&_render=kml&_run=1&
location=94720&mindist=2&what=cafes
CHAPTER 2 ?– UNCOVERING THE MASHUP POTENTIAL OF WEB SITES 51
which you can feed into Google Maps in the q={URL-of-KML} parameter:
http://maps.google.com/maps?f=q&hl=en&geocode=&q=http%3A%2F%2Fpipes.yahoo.com%2F
pipes%2Fpipe.run%3F_id%3D1mrlkB232xGjJDdwXqIxGw%26_render%3Dkml%26_run%3D1%26
location%3D94720%26mindist%3D2%26what%3Dcafes&ie=UTF8&ll=37.992916,-122.24556&
spn=0.189398,0.362549&z=12&om=1
Other Simple Applications of the Google Maps URL Language
Here are a few other examples of how to connect Google Maps to your applications by creating
the appropriate URL:
??? Let??™s not forget that by just using q={address}, you can now generate a URL to a map
centered around that address. If such a map suffices, it??™s hard to imagine a simpler way
to create a map corresponding to that address. No geocoding is needed.
??? You can create a URL for custom driving directions for any source and destination
address creating custom driving directions from your spreadsheet of addresses by making
the URLs. For example, to generate driving directions from Apress to the Computer
History Museum, you can use this:
http://www.
Pages:
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135