Use Geolocation for getting a direction

  • cabrio206
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 7 months ago #3733 by cabrio206
Use Geolocation for getting a direction was created by cabrio206
Hello,
first of all, thank you very much for this powerful component.
But it seems like it is too much for me....

I have the following problem:
I show a map in an article with a placemark. Geolocation, Google Places and geocoding (find) is enabled in the map.
If I click on the geolocation symbol on the map, it will show my position as well. When I click to get direction it has an error ZERO_RESULT.
How can I get my position as start point for the direction without typing anything in the find field? If I click on the bubble of my position nothing happens.
I can set the placemark as start or end point in the info window.

Any help would be great. Thanks

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #3736 by Dima
Replied by Dima on topic Use Geolocation for getting a direction
Hi, thanks.

If you don't need a lot of features - use the default values :)

As for your question - yes, that was my plans to modify my code for more flexibility, and I postpone it.
Now geolocation button only change map center. And I want to add to that one placemark, with infowin button - start and end point (as I did for placemarks when you enable directions)
And now the ZERO result you get because by default there is no start/end point.

I think I try to do this feature in this month

Cheers,
Dmitry

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds

Donate


Go to top