Hello, I use the last version of graphHopper from Git and In my app I try to show the Instruction (Like Road Book) and my code is :
....... GHResponse resp = hopper.route(req); InstructionList il = resp.getInstructions(); TranslationMap SINGLETON = new TranslationMap().doImport(); Translation trad = SINGLETON.getWithFallBack(Locale.US); And if i try this : List<String> iList = il.createDescription(trad); I have an error because in the class instructionList.java i don't have the function " List<String> createDescription(Locale locale) " ... Please,How make? I follow https://github.com/graphhopper/graphhopper/blob/master/docs/core/routing.md and http://grepcode.com/file/repo1.maven.org/maven2/com.graphhopper/graphhopper/0.1/com/graphhopper/util/InstructionList.java/#InstructionList.createDescription%28java.util.Locale%29 thank you 2015-05-15 10:42 GMT+02:00 Emux <[email protected]>: > On 15/05/2015 11:05 πμ, Fred Laurent wrote: > > Thank you , Can you Show (or explain ) me how to change the default map > rendering in graphHopper demo? > > > (This is a Mapsforge related so we should discuss it in Mapsforge forum > <https://groups.google.com/forum/#%21forum/mapsforge-dev>) > > You just need to change the render theme from the internal Osmarender to > an external one. > tileRendererLayer.setXmlRenderTheme(new > ExternalRenderTheme(renderThemeFile)); > > -- > Emux > Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas > <http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29> > > _______________________________________________ > GraphHopper mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/graphhopper > >
_______________________________________________ GraphHopper mailing list [email protected] https://lists.openstreetmap.org/listinfo/graphhopper
