Adding Geolocation and Google Maps to a Vue Application

  Рет қаралды 50,051

Andrew Schmelyun

Andrew Schmelyun

Күн бұрын

Пікірлер: 70
@aschmelyun
@aschmelyun 4 жыл бұрын
If you'd like to see the finished source code for the demo in this video, check it out here: github.com/aschmelyun/geolocation-google-maps-vue
@souravkaran6497
@souravkaran6497 3 жыл бұрын
Awesome work. Can you give some suggestions or small example by using apple mapkit instead of google map?
@digicoder
@digicoder 2 жыл бұрын
Great tutorial. Also thumbs up for keyboard ASMR 😃
@dimokabdullaev6646
@dimokabdullaev6646 4 жыл бұрын
Thank you man! Highly apprecited! That is what I need
@radovankrizalkovic9084
@radovankrizalkovic9084 4 жыл бұрын
Really smooth and clear. Thanks man.
@milou0104
@milou0104 4 жыл бұрын
Perfect! your explanations are always clear and straight forward. Can you cover using firebase databases within a Laravel project
@aschmelyun
@aschmelyun 4 жыл бұрын
Sure thing!
@larrevick
@larrevick 3 жыл бұрын
If anyone like me is wondering why the Google Maps is not loading, I think it might have something to do with a somewhat recent change in Vue to force non-camel-case elements (e.g. GmapMap is auto lowercased to gmapmap). To solve this go back to your main.js file and add following line after the import and use. Vue.component('google-map', VueGoogleMaps.Map); Now go back to your Map.vue and use instead of as HTML tags.
@yarincepadilla6126
@yarincepadilla6126 4 жыл бұрын
what about the billing for google cloud platform ?
@cyrillamirand3745
@cyrillamirand3745 4 жыл бұрын
Great tutorial, thank you Andrew !
@oladapodaniel6372
@oladapodaniel6372 4 жыл бұрын
Thanks for the tutorial, but you didn't indicate that i have to create billing account before my api key can be activated which will eventually display my map. Just adding the key is not working for me until i create a billing account. i dont want to create the billing account is there any other method?
@rajatchauhann
@rajatchauhann 2 жыл бұрын
Unfortunately, I haven't been able to find a method without the billing, it could be done before but Google changed it so the billing is mandatory to access Google map APIs
@jakubmonikowski4871
@jakubmonikowski4871 4 жыл бұрын
Great, subscribed ! ... one thing I had to do is : replace : localStorage.center = JSON.stringify(center); with below : localStorage.center = JSON.stringify(this.map.getCenter());
@payflipteam9983
@payflipteam9983 2 жыл бұрын
"Florida Man creates awesome app in under 17 mins!"
@LongJourneys
@LongJourneys 4 жыл бұрын
Great tutorial. Exactly what I needed!
@tomdigimon02
@tomdigimon02 3 жыл бұрын
Thanks you sooo much! Apprecited!
@lexelgaming
@lexelgaming 4 жыл бұрын
Hi I need an explanation or a video using that same package and the gmap-marker please
@aschmelyun
@aschmelyun 4 жыл бұрын
You got it! I'll add it to my list.
@envygamer
@envygamer 3 жыл бұрын
I am trying to use this along with Ionic, and I keep getting *"Uncaught TypeError: Cannot set property '$getLocation' of undefined"*, Any Pointers
@josuebarros-desenvolvedorw2490
@josuebarros-desenvolvedorw2490 3 жыл бұрын
To use this in NuxtJS, do you think its too hard to implement? I'm trying to decide whether to include the VueJS or the Laravel version on my Real Estate project I'm developing for a client right now
@swibay
@swibay 3 жыл бұрын
Bro you are awesome... Thank you so much!
@lars-sorensen
@lars-sorensen 4 жыл бұрын
Very useful and excellent video. Thanks!
@Troy-ol5fk
@Troy-ol5fk 2 жыл бұрын
Please make a tutorial on vue transition/transition-group component
@jdm9033
@jdm9033 4 жыл бұрын
thanks, this is a great help. But how about the location pin, were it points were you are exactly, that is most common in google maps?
@tuanchu8022
@tuanchu8022 4 жыл бұрын
you're gonna need to use the Marker method, the documentation has a very clear explanation of it
@gurmukhsingh-uh5qo
@gurmukhsingh-uh5qo Жыл бұрын
thank you for sharing
@pharyyady
@pharyyady 4 жыл бұрын
thanks andrew.... #ask how to calculate the distance between two locations
@matteogll84
@matteogll84 3 жыл бұрын
Nice tutorial, thanks!
@miguelruizad
@miguelruizad 4 жыл бұрын
Thank you for your video tutor. It helps me a lot. Could you continue the video indicating how to place marks on the map, read from a mysql table?
@aschmelyun
@aschmelyun 4 жыл бұрын
I definitely will! I'll add it to my list, watch for future videos.
@anokkibet3514
@anokkibet3514 4 жыл бұрын
It doesn't seem to work with type script.. any advice or solution... I am working on geolocation in vue pwa... it completely doesn't work.. help please!!! 😪
@alexandros-markovits
@alexandros-markovits 3 жыл бұрын
Great video! Thank you
@santiagograviano9064
@santiagograviano9064 4 жыл бұрын
Great material, keep it up!
@bradmccord8895
@bradmccord8895 3 жыл бұрын
Hello Andrew, amazing video, thank you! Just one question, does this allow you to drop pins at specific locations on the map?
@hetulpatel3649
@hetulpatel3649 4 жыл бұрын
in that map integration in Vue google map billing account is required or not ?
@jacaratu2586
@jacaratu2586 3 жыл бұрын
Yessss...that was nice as a Sunday morning and smooth as a puppy-fench-bulldogs' ass Andrew! :) more on vue/nuxt - gmaps please
@romulonavas5863
@romulonavas5863 2 жыл бұрын
In me mitute 5:29 you declared vue2-google-maps in the main.js file, and you wrote installComponents: false. It should be TRUE, otherwise you will not see see the map (In my case).
@ivanc.6064
@ivanc.6064 Жыл бұрын
I was thinking the exact same thing. How anyone followed this video with that error is anyones guess.
@ssahillppatell
@ssahillppatell 4 жыл бұрын
Thanks mate.
@harshitthakore5149
@harshitthakore5149 4 жыл бұрын
Thanks man. +1 subscribed
@CodingMadeEasy
@CodingMadeEasy 4 жыл бұрын
Hey Andrew. I came across your video while randomly browsing Reddit. I have a random question, what font are you using? I really like it haha
@aschmelyun
@aschmelyun 4 жыл бұрын
Thanks! It's FiraCode with ligatures!
@CodingMadeEasy
@CodingMadeEasy 4 жыл бұрын
@@aschmelyun Awesome thanks! :D
@bilich7651
@bilich7651 3 жыл бұрын
someone help :C, install browser geolocation and throw me those errors on ->main.js when import shows 'Could not find a declaration file for module...' it exist and its well mounted -> in vue component when use this.$getLocation({}) shows this.$getLocation is not a function on console anyone who knows whats going on?
@seyedmohammadhosseini1310
@seyedmohammadhosseini1310 4 жыл бұрын
Perfect, Thanks
@MarcelloPato
@MarcelloPato 4 жыл бұрын
Fantastic!
@citrace
@citrace 4 жыл бұрын
Thank you Andrew. Two questions, which editor are you using? and do you have autocomplete address using google api tutorial?
@aschmelyun
@aschmelyun 4 жыл бұрын
You're welcome, I'm glad you liked it! I'm using PHPStorm with the Material Theme UI and Atom One Dark color scheme. I don't have a tutorial like that yet, but I'll add it to my list!
@RezaSeedin
@RezaSeedin 4 жыл бұрын
Very nice tutorial, Also whats the keyboard you are using its sounds mechanical but very silent?
@aschmelyun
@aschmelyun 4 жыл бұрын
Thanks! It's a Cooler Master Masterkeys S with Cherry MX Blue switches! I record the sound of it separately and tone it done, it's a little louder in person.
@anisdlakic8697
@anisdlakic8697 4 жыл бұрын
Hi, Unknown custom element: - did you register the component correctly
@aschmelyun
@aschmelyun 4 жыл бұрын
Try using and see if that works!
@Raza_9798
@Raza_9798 4 жыл бұрын
@@aschmelyun Unknown custom element: . i found a solution github.com/xkjyeah/vue-google-maps/issues/437#issuecomment-663937617
@miauw8762
@miauw8762 3 жыл бұрын
installComponents: true
@PrashantPanditDigiSarathi
@PrashantPanditDigiSarathi 4 жыл бұрын
if this were to be made a mobile app with cordova would the geolocation still work? thanks!
@brajbaj
@brajbaj 4 жыл бұрын
I will check
@MULTICODE
@MULTICODE 4 жыл бұрын
Please can you make a Laravel API and Angular. Let's say an authentication system with laravel and Angular. Please
@imranlashari6578
@imranlashari6578 3 жыл бұрын
What about the Marker on the map?
@ivanc.6064
@ivanc.6064 Жыл бұрын
i think this is more correct? installComponents: true,
@basharalmasri7919
@basharalmasri7919 4 жыл бұрын
I would like to thank you for this great work. How can we click on the map to add a marker and get the marker lat lng, if user clicks again, we will change marker to the new location. If we refresh we will centre the map and show marker to the centre of the map. Moreover, how can we add textbox to search location and choose from drop down menu and reflect on the map Please advice...
@marovsalexey
@marovsalexey 9 ай бұрын
What is this ide?
@shekhsaifuddin1353
@shekhsaifuddin1353 Жыл бұрын
map api keys are not free anymore 😪
@heyyy4987
@heyyy4987 4 жыл бұрын
how add restaurants from my db in map?
@aschmelyun
@aschmelyun 4 жыл бұрын
I'm creating a tutorial for this now, and it should be live within the next week or two!
@kid_rz
@kid_rz 3 жыл бұрын
is free? using google maps
@todayisyourfuture
@todayisyourfuture 3 жыл бұрын
don't work
@carlossfuentess
@carlossfuentess 3 жыл бұрын
Where didnt you fu@# mention that a billing account needed to be created? I do not see the purpose of the video if a payment is required.
Authentication in Vue using Laravel Sanctum
23:06
Andrew Schmelyun
Рет қаралды 72 М.
Populating Google Maps with Vue and Laravel
25:17
Andrew Schmelyun
Рет қаралды 23 М.
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 45 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,1 МЛН
Vue Location , GPS & Maps (Leaflet)
16:24
benixal
Рет қаралды 8 М.
Google Maps JavaScript API Tutorial
27:27
Traversy Media
Рет қаралды 1 МЛН
How to use the Capacitor Google Maps Plugin with Ionic
21:59
Simon Grimm
Рет қаралды 25 М.
Top 6 Most Popular API Architecture Styles
4:21
ByteByteGo
Рет қаралды 959 М.
I built an app using a single index.php file, here's how it went
32:42
Andrew Schmelyun
Рет қаралды 88 М.
Build A Ride Share App: Full Stack Tutorial with Laravel and Vue
4:12:53
Andrew Schmelyun
Рет қаралды 78 М.
Learn Pinia in 30 MINUTES! (Vue JS 3)
33:58
Make Apps with Danny
Рет қаралды 122 М.
Get Live User Location - HTML5 Geolocation Tutorial
15:27
OpenJavaScript
Рет қаралды 22 М.
Google Maps API v3.36 Tutorial - February 2019
39:28
Bryce St. Pierre
Рет қаралды 97 М.
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 45 МЛН