we have this example: http://code.google.com/apis/maps/documentation/v3/basics.html#DetectingUserLocation
which shows how to get the user’s position in JSP code.
How to use it using GWT?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since GWT runs JavaScript in the browser, you’ll have to look into using the brand-new HTML5 Geolocation features to make this work.
In fact, the gwt-mobile-webkit project includes Geolocation features in GWT (targeted at mobile webkit browsers like the one on Android and the iPhone).
If that doesn’t fit your needs exactly, you can always have GWT call the necessary native JS code using JSNI.