HTML5 Geolocation, Google Maps and Google Places with Yii2

Part three of my Building Your Startup series is available and its focus is implementing HTML5 Geolocation, Google Maps and Google Places in Yii2.

Before users can schedule meetings, we need them to be able to find and suggest their favorite places. Initially, for simplicity, we’ll build Place searching and creation functionality separately from the scheduling feature.

There are three ways for users to add places:


[*]Using HTML5 Geolocation, they can look up their current location via WiFi and add this as a place.

[*]Using the Google Places API, they can search for a place in the Places database using the autocomplete. Eventually, when we know their current location, we can restrict the search results to nearby places.

[*]Manual entry. Users can enter an address and description for their own place, like an office or home.


Read the full tutorial