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.

  • I found this, seems to work well. – Markus Jul 3 '13 at 8:57
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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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