I want to display the map and fine having the directions. How do I make the start and end point user defined?
Sent from my iPhone On 13 Dec 2011, at 19:39, Barry Hunter <[email protected]> wrote: > Hmm, seems my information was outdated > > http://code.google.com/apis/maps/terms.html#section_10_1 > > 10.1.1.(g). Says you cant even use it without a map. So just > displaying the text is no longer enough. > > > Cant find anywhere in the documentation that explicitly allows > displaying content without a map > http://code.google.com/apis/maps/documentation/javascript/services.html#Directions > > > > See also > http://code.google.com/apis/maps/documentation/directions/#Limits > > On Tue, Dec 13, 2011 at 7:29 PM, Barry Hunter <[email protected]> wrote: >> Actually you do need to display the 'directions box' >> >> The terms say you must display the results on a Google Map, or display >> the whole text (which naturally includes the copyright message) >> >> >> >> Other than that allowing the user to choose a location, or type. Is >> not really a Maps API question. A common way to do that is with a >> 'combo' box. >> >> The first result searching for "javascript combo box" >> http://www.javascriptkit.com/script/cutindex16.shtml >> >> >> >> On Tue, Dec 13, 2011 at 6:01 PM, Matt <[email protected]> wrote: >>> I hope someone can help. I have been trying to create a taxi fare >>> calculator for our new website using Google maps so I've been playing >>> around with some code. I have managed to create this (excuse the >>> styling I'm just trying to get the function right first) >>> >>> http://www.shrewsburytaxiservice.co.uk/shrewsbury_taxi_service_local_taxi_shrewsbury_shropshire/taxi_fare_calculator_1.html >>> >>> which has been simple enough using examples from Google tutorials but >>> what I want to do is make the start and end point editable by the >>> customer so they can enter a street name, town or postcode as well as >>> choosing from a pre-selected options list (i.e UK airports) and for >>> the route to then be calculated giving a result in miles. I don't >>> really need the directions box although I have included it for now as >>> it is the only way I have been able to get the distance calculated. >>> The resulting mileage can then be used to calculate the fare. >>> >>> Hope that makes sense >>> >>> Thanks >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google Maps JavaScript API v3" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/google-maps-js-api-v3?hl=en. >>> > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
