الأحد، 17 نوفمبر 2013

Calculate a route between two locations


I wrote this application because i've seen that in many business websites, on contact section, the information about the location of that business is very poorly. As a personal experince, last summer, it was a little bit difficult for me to find the location of a hotel where i spent my vacation in chalkidiki, using just the information provided on the hotels website and the emails from the manager of the hotel.

They wrote to me, that I can reach to the hotel very simple: passing the pefkochori town, 2 km ahead, from the main road, it is a small road on right and in front of the road is a big indicator with the name of the hotel. Following that little road until the end, I shall reach to the destination. For some reason, they didn't provide me the geographical coordinates, so I can use my navigator gadget.

Passing Pefkochori, I spent half an hour trying to find that little particular road on the right. Finally, I remarked the very big colorless sign with the name of the hotel, among 4 other signs, bigger than the one I search it.

So, an ideea sprouts in my mind: what if I do a small application, that anyone can put in his business website, to provide a route starting at the location selected by your website visitor and potentially customer or determined through the web browser of your visitor / customer and having as destination the location of your business.

I coded the application, and here it is!

Don't panic, it's very simple tot include this widget in your website by copying the following code:





This code is safe to be included in your website. It is safe for you and also for me.

To make this code to work properly, you must replace the parameters that I revealed: width and height of the frame where the application will work and latitude and longitude where your business is situated.

Benefits of using my application in your website:

- first of all, it provides to everyone a way to reach to your business;

- the route to your location is literarly explained in the right panel, so your customer shall not need to have a navigator to reach your business;

- if you click the HINT in the yellow box, your customer shall see a 4 day weather forecast in your area;

- your customer can use this application from the mobile phone from any part of the route to you and see the route explained in details;

- using this web widget (code), your website shall be included in the directory I intend to create, so, in that way, your business shall be more visible to your customers.

ليست هناك تعليقات:

إرسال تعليق