3

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.

1
  • I found this, seems to work well.
    – Markus
    Commented Jul 3, 2013 at 8:57

1 Answer 1

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.

1
  • 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
    Commented Jul 8, 2013 at 10:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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