On Dec 20, 3:02 am, bkazour <[email protected]> wrote: > Ok Thanks for the reply. > you mis-understood me. > I can get the direction request and display all the instructions > myself with the right headers (which what i will do if it is > neccessary). or i can use the .setPanel() function and see if there > is a way to change the headers only (this is the preferred way).
I still believe you need to do the first. > The map is > athttp://www.surfleb.com/test1.php#/searchCity=Aley/searchStart=0/searc... > This link will directly lead you to the problem. > As you will be able to see, on the right panel, there are the > direction instructions. However, the headers on both ways are > labeled: > Hlaliye, Lebanon. where in fact the first one should be "Aley", and > the second one should be "Adib Librairie". > My question is to see if there is a way to change the headers of the > search results without having to write the whole display code > myself ? Not that I know of. -- Larry > Thank you and sorry for any inconvenience i have made. > > On Dec 19, 4:47 pm, "[email protected]" <[email protected]> > wrote: > > > > > > > > > On Dec 19, 3:03 am, bkazour <[email protected]> wrote: > > > > Any help on this ? > > > I don't know of any way to change the behavior as you want without > > "the need to write" code to do it. > > > For more help, you might consider reading and following the posting > > guidelines:http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e > > (provide a link to your map) > > > -- Larry > > > > Thanks > > > > On Dec 16, 10:30 pm, bkazour <[email protected]> wrote: > > > > > Hello, > > > > I am using the direction service provided by google to get direction > > > > between 2 distances. > > > > However, my source and destination are not always known to google. The > > > > association between lat/long and names comes from the application > > > > database. > > > > However, when i display the direction through the > > > > directionsDisplay.setPanel. i always seems to get wrong names on the > > > > source/destination. > > > > Is there any way to edit the source/destination display name without > > > > having the need to write the setPanel() function myself ? > > > > > Thank you -- 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.
