Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

Thanks.

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

1 Answer 1

You would create a custom plugin where the checkbox would be your action. See http://suite.opengeo.org/opengeo-docs/apps/plugincreate/ 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
add comment

Your Answer

 
discard

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.