Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I’d like to have GPS functionality added to my OpenGeo Suite Client SDK application.

From what I understand it should be possible to use the Geolocate control from OpenLayers. Preferably there would be a checkbox (placed on map.tbar) with the option of continuous tracking. If that’s not possible, a button that gets the current position would do as well (like this example).

How would I go about incorporating Geolocate?


share|improve this question
I found this, seems to work well. – Markus Jul 3 '13 at 8:57

You would create a custom plugin where the checkbox would be your action. See for a tutorial.

share|improve this answer
Thanks, with the help of the github files I linked to and the plugin tutorial I'll probably be able to get something pretty close to what I want. – Markus Jul 8 '13 at 10:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.