<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks, Nicolas and Peter. Okay now i've got a new problem. When i
    try to connect to the server from another machine than the server
    itself it returns an error: "Graphhopper API offline?
    <a class="moz-txt-link-freetext" href="http://localhost:8989">http://localhost:8989</a>"<br>
    That means it's looking for a running graphopper core instance on my
    local pc instead of a running instance on the server. Is that a bug?<br>
    <br>
    Thanks in advance,<br>
    <br>
    Robert<br>
    <div class="moz-forward-container"><br>
      <br>
      -------- Original-Nachricht --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Betreff:
            </th>
            <td>Re: [GraphHopper] Graphhopper web using own graphs</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Datum: </th>
            <td>Wed, 10 Jul 2013 14:09:18 +0200</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Von: </th>
            <td>Peter K <a class="moz-txt-link-rfc2396E" href="mailto:peathal@yahoo.de"><peathal@yahoo.de></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Antwort
              an: </th>
            <td>GraphHopper Java routing engine
              <a class="moz-txt-link-rfc2396E" href="mailto:graphhopper@openstreetmap.org"><graphhopper@openstreetmap.org></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">An: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:graphhopper@openstreetmap.org">graphhopper@openstreetmap.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>ups, thanks nicolas! fixed!

Peter.

> Hi Robert,
>
> I think your problem is in file /web/src/main/webapp/js/main.js
> Open it and change the value of variable named "LOCAL" at line 22 :
> LOCAL=false; ===> LOCAL=true;
>
> Regards,
>
> Nicolas GILLET
>
>
> Market-IP - Creating Mobile Intelligence
> Phone : +32 81 33 11 11 
> Fax : +32 81 33 11 10
> <a class="moz-txt-link-abbreviated" href="http://www.market-ip.com">www.market-ip.com</a> - <a class="moz-txt-link-abbreviated" href="http://www.telefleet.com">www.telefleet.com</a> - <a class="moz-txt-link-abbreviated" href="http://www.geoplanning.net">www.geoplanning.net</a> - <a class="moz-txt-link-abbreviated" href="http://www.drivexpert.net">www.drivexpert.net</a> 
>
>
> -----Message d'origine-----
> De : Robert Schmid [<a class="moz-txt-link-freetext" href="mailto:robert.schmid@fh-kempten.de">mailto:robert.schmid@fh-kempten.de</a>] 
> Envoyé : mercredi 10 juillet 2013 13:13
> À : <a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
> Objet : [GraphHopper] Graphhopper web using own graphs
>
> Hey Peter,
>
> I want to use Graphhopper web with my own graph. Here is what i'm doing:
> - running ./graphhopper.sh web unterfranken.osm It builds the graph successfully. But if i access the server via web browser it will use a graph from the internet and i am able to route around the world.
> Why is that? Is there any flag which needs to be set to use only the unterfranken graph and my local graphhopper core framework?
>
> Thanks in advance,
>
> Robert
>
>
> _______________________________________________
> GraphHopper mailing list
> <a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
> <a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
>
> _______________________________________________
> GraphHopper mailing list
> <a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
> <a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
>


_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>

</pre>
      <br>
    </div>
    <br>
  </body>
</html>