0
votes
1answer
70 views

How to get bbox from geolocate?

I am using geolocate to zoom to the users location. Afterwards I am trying to get the bbox of that area. However the geolocate function is for some reason always executed last, so I don't get any ...
1
vote
1answer
759 views

add a feature in openlayers using lonlat from geolocation

I'm trying to add a feature in a openlayer's vector layer using the lonlat that came from the HTML5's geolocation API. Combining tutorials for the geolocation and this demo I created the following ...