In this video, I'll show you how to use two simple packages to introduce geolocation and embedded Google Maps to your new or existing Vue apps.
Follow-up video showing how to populate a Google Map with pins: • Populating Google Maps with Vue and Laravel
Join my weekly newsletter for tips on Laravel + more: aschmelyun.substack.com/
You'll learn how to:
Get the users latitude and longitude if they allow your app to use location
Handle a rejection if your user does not approve location services
Embed customizable Google Maps, accessing its zoom and center
Obtain a Google Maps JavaScript API key for use with your map
Follow me on Twitter! twitter.com/aschmelyun
Thanks Patreon supporters!
Sam Ross
Directly support these videos @ www.patreon.com/aschmelyun
コメント