Hi
Since I have been told that the url parameters are not documented yet, maybe someone knows if one can add description to a point - (like in the BING maps sample I attached) - so it will be displayed in the left coordinates pane
Do you want to enter location names rather than coordinates? That is actually possible. The point parameters can be coordinates or names. For example this works:
Can you explain this in more detail? What are you trying to achieve with the ‘description’? Or do you mean after entering a coordinate (or moving the marker on the map) a description for this coordinate should be shown (geocoding)?
There soon will be a blog post that will explain some of the features of the new maps app.
and it all comes from the url itself. after the pos.36.98811_2185565 there is another underscore with a free description.
It make the displayed map meaningful.
the idea behind it is to enable a simple user to generate meaningful map without any programming.
directly from the url.
Ok so we’d have to run reverse geocoding to find a textual description for the different query points. I opened this issue https://github.com/graphhopper/graphhopper-maps/issues/270, but probably this won’t be implemented as it is a rather special request and out of scope for GraphHopper maps.
1 - I am trying to display route from my location to specific coordinates.
how can I specify Current Location in the url ? I do not know my Current Location coordinates - and I noticed that when I specify Current Location in the directions window, GraphHopper translates it to this url: Current Location
This is not possible via the URL but an interesting feature. You can only request the current location inside the input element of the application. You can leave the input empty: