<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">no, thats the way javascript works :)<br>
      you need to change once again LOCAL (to 'false') BUT use your own
      IP instead gpsies.com<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote cite="mid:51DD626B.4040004@fh-kempten.de" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      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
        moz-do-not-send="true" 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 moz-do-not-send="true"
                  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
                  moz-do-not-send="true" 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 moz-do-not-send="true"
                  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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.market-ip.com">www.market-ip.com</a> - <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.telefleet.com">www.telefleet.com</a> - <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.geoplanning.net">www.geoplanning.net</a> - <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.drivexpert.net">www.drivexpert.net</a> 
>
>
> -----Message d'origine-----
> De : Robert Schmid [<a moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
>
> _______________________________________________
> GraphHopper mailing list
> <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
>


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

</pre>
        <br>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
    </blockquote>
    <br>
  </body>
</html>