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.

Reply via email to