OL3-ext: Geolocation draw
is a draw interaction that use an ol.Geolocation
setActive(bool) method will start/stop the GPS and draw a location area.
start() method will start drawing (registering poisitions).
pause() will pause registering locations.
stop() method will stop drawing and save the resulting feature in the provided source.
You can define a minAccuraty overneath the location will be skipped or a condition function
to decide if the point should be registered.
You can define a tolerance to simplify the resulting geometry.
When activated the interaction will follow the GPS position at a defined zoom.
You can override this behavior in specifying the followTrack option (can be true | false | auto | position | visible).