u will have to go through the server to gelocate the IP.

For example if u are using MaxMind Geo data (.dat or .csv), u have java apis
to search the MaxMind DB. (Lite version is available for download on MaxMind
site).

Using GWT-RPC or RequestBuilder you can then query the server to give you
the location, which in turn will use the gelocation apis(mentioned above) on
the server to give u the location and send it back to the UI.

Purely client side, i think will have to use a public geolocation service
that can talk JSONP or XML.Keep in mind the cross-site XHR issues.

Thanks,
Subhro.

On Wed, Jan 5, 2011 at 9:30 AM, pieceovcake <[email protected]> wrote:

> is there any way to get the location of a user using gwt on the client side
> based on their ip address?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to