<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:8pt"><div><span>Hi Daniels,</span></div><div style="color: rgb(0, 0, 0); font-size: 10.6667px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><span>I dont know about the google map tiles but for the snapping you can try this:<br></span></div><div style="color: rgb(0, 0, 0); font-size: 10.6667px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;">    <br>    GraphHopper graphHopper=new GraphHopper().setInMemory(true)<br>                .setGraphHopperLocation("/tmp/ghLoc")<br>               
 .setOSMFile(osmFile)<br>                .disableCHShortcuts();<br>    graphHopper.importOrLoad();</div><div><br>    QueryResult queryResult=graphHopper.getLocationIndex().<br>        findClosest(50.09624070971814,14.438213109970093,<br>            new DefaultEdgeFilter(graphHopper.getEncodingManager().getSingle()));<br>    <br>    System.err.println(queryResult.getSnappedPoint());</div><div style="color: rgb(0, 0, 0); font-size: 10.6667px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 10.6667px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><br></div><div
 style="color: rgb(0, 0, 0); font-size: 10.6667px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 10.6667px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;">Regards</div><div style="color: rgb(0, 0, 0); font-size: 10.6667px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;">Bruno<br></div>  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 8pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Daniels Pitkevics <daniels.pitkevics@gmail.com><br> <b><span style="font-weight:
 bold;">To:</span></b> graphhopper@openstreetmap.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, March 31, 2014 3:48 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [GraphHopper] Snap to road<br> </font> </div> <div class="y_msg_container"><br><div id="yiv0347988287"><div dir="ltr">Greetings!<div>I am trying to build a new navigation android app and for now I have been stopped at the point where current GPS coordinate needs to be snapped to the road because of lack of GPS accuracy. Is it possible to do with GraphHopper? If yes, then could You please share some links, classes, methods where I could search for? </div>
<div>Also, is it possible to use GraphHopper routing with Google Maps representation and tile loader?</div><div>Thank You in advance.</div><div><div><div><br></div>-- <br><div dir="ltr"><b><font color="#38761d">Ar cieņu,</font></b><div>
<b><font color="#38761d">Daniels Pitkevičs</font></b></div></div>
</div></div></div></div><br>_______________________________________________<br>GraphHopper mailing list<br><a ymailto="mailto:GraphHopper@openstreetmap.org" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br><a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br><br><br></div> </div> </div>  </div></body></html>