add notes: not a public API

This commit is contained in:
Norbert Renner 2015-06-19 12:11:51 +02:00
parent f13f6e479e
commit 14f8484953
2 changed files with 3 additions and 0 deletions

View file

@ -102,6 +102,8 @@
<script> <script>
// global package prefix for BRouter web application // global package prefix for BRouter web application
BR = {}; BR = {};
console.log('\r\n###\r\n### BRouter-Web\r\n###\r\n### Please note that the routing API used here is not public!\r\n###\r\n');
</script> </script>
<script src="config.js"></script> <script src="config.js"></script>

View file

@ -1,5 +1,6 @@
L.BRouter = L.Class.extend({ L.BRouter = L.Class.extend({
statics: { statics: {
// NOTE: the routing API used here is not public!
// /brouter?lonlats=1.1,1.2|2.1,2.2|3.1,3.2|4.1,4.2&nogos=-1.1,-1.2,1|-2.1,-2.2,2&profile=shortest&alternativeidx=1&format=kml // /brouter?lonlats=1.1,1.2|2.1,2.2|3.1,3.2|4.1,4.2&nogos=-1.1,-1.2,1|-2.1,-2.2,2&profile=shortest&alternativeidx=1&format=kml
URL_TEMPLATE: BR.conf.host + '/brouter?lonlats={lonlats}&nogos={nogos}&profile={profile}&alternativeidx={alternativeidx}&format={format}', URL_TEMPLATE: BR.conf.host + '/brouter?lonlats={lonlats}&nogos={nogos}&profile={profile}&alternativeidx={alternativeidx}&format={format}',
URL_PROFILE_UPLOAD: BR.conf.host + '/brouter/profile', URL_PROFILE_UPLOAD: BR.conf.host + '/brouter/profile',