NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello All

It is first time I have come across the OpenStreetMap of which I am really amazed :)

Congratulation to all the developers and participants...

My question is, how would I implement the MAP to show on my website where user can type in the From location and To location and in return the map shows the route including the costing or miles.

I have come across a taxi company online (****.book.citytaxis.com/new-booking) using this map and their map shows the estimated cost. I assume the cost is calculated based on £x.xx per mile.

Anyway, I am slightly confused what needs to be done :) Ideally, I would wish this working on a SharePoint environment.

I hope it is a matter of downloading the .js files and linking it up?

Please advise in really simple terms for me to follow easily.

Thanks

asked 08 Aug '18, 12:43

Bimi82uk's gravatar image

Bimi82uk
11113
accept rate: 0%

edited 08 Aug '18, 12:45

1

Perhaps you should start reading https://wiki.openstreetmap.org/wiki/Develop which describes how you can use OpenStreetMap data.

(09 Aug '18, 04:17) escada

Indeed, I did have a look at the WiKi Page and reason why I asked here is in hope SOMEBODY would take his/her time to explain simple term in a way or step by step process. And not like "here read the link" which is not very straight forward.

(09 Aug '18, 08:27) Bimi82uk
1

@bimi82uk I don't think that's likely to happen (especially with regards to how things fit into a Sharepoint environment).

It sounds like you have a number of requirements:

  • Some sort of background map
  • A UI to request to / from places
  • A back-end routing API
  • A way of displaying routes on the background map
  • How to do all this beneath Sharepoint

What I'd suggest is that you look at each of these in turn - break what you want to do into small manageable steps and look at each one in turn. For example, @escada's link already contains links to "Showing a Map" and "Routing/navigation", which address two of your requirements.

(09 Aug '18, 08:45) SomeoneElse ♦

@SomeoneElse

Indeed, it is far from easy to follow the steps required. I assumed it would be a case of using the leaflet js files etc. but the "showing a map" just provides loads of framework of which I have no clue about ... nor implementing it.

(09 Aug '18, 09:06) Bimi82uk

Furthermore,

I hoped that I could use a simple test on a blank simple html page. I can test it via html first to get the look and feel ... but I fail to understand what is required step by step.

I am not a coder nor a developer and this may explain why it is so difficult to follow through :/

(09 Aug '18, 09:13) Bimi82uk
2

I am not a coder nor a developer and this may explain why it is so difficult to follow through :/

Indeed :)

However, Leaflet is an excellent place to start from - there are lots of examples there.

(09 Aug '18, 09:35) SomeoneElse ♦
showing 5 of 6 show 1 more comments

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×111
×3
×3

question asked: 08 Aug '18, 12:43

question was seen: 5,294 times

last updated: 09 Aug '18, 09:35

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum