sorry - link to the page is http://www.shrewsburytaxiservice.co.uk/shrewsbury_taxi_service_local_taxi_shrewsbury_shropshire/taxi_fare_calculator.html
On Dec 16, 8:29 am, Matt <[email protected]> wrote: > Hi again. > > I can see how the variables for distance work but the real variables > are number of passengers and time of day and I can't see how to > include these. I've put a few time slots in and a number of passengers > option but how do I incorporate those into the fare calculation so if > someone wants a cab for 5 people at midnight, it uses rate3 but for 3 > people at 9am it uses rate1? > > Cheers. > > On Dec 15, 11:10 am, Matt Young <[email protected]> wrote: > > > > > > > > > Fantastic. I'll take a look later. You're a star!! > > > Sent from my iPhone > > > On 15 Dec 2011, at 11:09, davie <[email protected]> wrote: > > > > Hi > > > Seehttp://daviestrachan.zxq.net/maps/taxicalc2.html > > > I have changed it for variable rates > > > > Regards davie > > > > On Dec 14, 10:00 pm, Matt Young <[email protected]> wrote: > > >> That's perfect!! Can I use the code? > > > >> Thanks > > > >> Sent from my iPhone > > > >> On 14 Dec 2011, at 21:08, davie <[email protected]> wrote: > > > >>> Hi > > >>> Something like thishttp://daviestrachan.zxq.net/maps/taxicalc.html > > >>> works with address or Postcode > > >>> Regards Davie > > > >>> On Dec 13, 7:44 pm, Matt Young <[email protected]> wrote: > > >>>> 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.ht... > > > >>>>> 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_... > > > >>>>>>> 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 > > >>>>>>> athttp://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 > > >>>>> athttp://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 > > >>> athttp://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 > > > athttp://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.
