Has anyone had any luck with finding documentation on geolocation when using the bing layer on the kendo map UI ? I can't seem to find any documentation. Basically I am wanting to take advantage of the built in location services now in html 5 using mvc as my framework.
3 Answers, 1 is accepted
0
Stamo Gochev
Telerik team
answered on 13 Nov 2017, 12:01 PM
Hello Max,
Can you provide more information about what you want to achieve using the HTML5 Geolocation API and the Map?
What i can think of is displaying a marker on the location of the user, which can be done as in the following documentation example:
I was wanting to use the built in functionality (location) of HTML5 to produce a marker on the map to show where the user is located. I was hoping to use that same information to produce the locations name in a click event with the marker. I know when I used google maps it was called geolocation so that is what I used in the question
0
Stamo Gochev
Telerik team
answered on 14 Nov 2017, 11:24 AM
Hello,
The marker can be placed on the Map in the way described in my previous post.
Regarding the second question - the location of the marker can be obtained by binding to the "markerClick" event and calling the "eventToLocation" method: