Google Maps & Angular | ANGULAR SNIPPETS

  Рет қаралды 178,314

Academind

Academind

Күн бұрын

Пікірлер: 177
@andreipopa3515
@andreipopa3515 3 жыл бұрын
Fantastic video! Really concise, straightforward, and well explained. Thank you, Max.
@ramonmurillo167
@ramonmurillo167 7 жыл бұрын
Excellent starting point Max. Thanks for sharing.
@academind
@academind 7 жыл бұрын
Thanks a lot Ramon, happy to read that you like the first video of this series!
@raymondmichael4987
@raymondmichael4987 7 жыл бұрын
Academind, is this a series!!? Though I'm not well with angular but I'll be waiting bro, I bet I'll learn a lot of maps and angular too, as you have a way of teaching that makes things stick. Keep up the good work
@PrashantSedhainOfficial
@PrashantSedhainOfficial 4 жыл бұрын
You are a hero, Max
@nelsonking
@nelsonking 7 жыл бұрын
I tried using the native google maps api with vanilla JS in an Angular 5 project and ran into tons of problems! This video was so helpful!!
@akashshah9896
@akashshah9896 6 жыл бұрын
same here...
@stevenli9385
@stevenli9385 5 жыл бұрын
Very practical and useful video, thanks heaps!
@pleasewait8913
@pleasewait8913 5 жыл бұрын
I took your course in Udemy ionic 4. You are the best instructor I ever saw in my life. 1^749382616192519143948362 infinity times star.
@academind
@academind 5 жыл бұрын
Wow, I really want to thank you for your wonderful feedback Rammaya :)
@MohdSuhail-c9e
@MohdSuhail-c9e 3 ай бұрын
Never thought the video link on the website would take me to the Max.
@walterbarnie608
@walterbarnie608 2 жыл бұрын
great job always enjoy and learn a lot from your videos
@jorgeallarguzman346
@jorgeallarguzman346 4 жыл бұрын
Youre breathtaking! all your videos are really helpful and really easy to understand. You're awesome!
@dzenish.2262
@dzenish.2262 7 жыл бұрын
Max, you're awesome ....
@academind
@academind 7 жыл бұрын
YOU are awesome Dzenis, thanks so much for your support!
@qwertt14
@qwertt14 6 жыл бұрын
he is someone i truly admire haha
@stockita
@stockita 4 жыл бұрын
Max is always the best.
@barjosa31blogspot83
@barjosa31blogspot83 7 жыл бұрын
Yup, thanks for sharing Max!
@academind
@academind 7 жыл бұрын
Thanks a lot for your comment!
@electricwatches1
@electricwatches1 5 жыл бұрын
Amazing video man, appreciate it!
@ahadumelesse2885
@ahadumelesse2885 2 жыл бұрын
Hi Max, nice lecture, as usual. Have you implemented google map auto complete ( for addresses ) in Angular ?
@danpride2804
@danpride2804 6 жыл бұрын
Max Special Request from a loyal fan,... can you do Maps A to Z ? The whole nine yards the new routes and places and integrating em all ? Just a small request :)
@academind
@academind 6 жыл бұрын
Thanks for the suggestion Dan. I cannot promise if/when such a video is coming, but I put it onto my "ideas" list :)
@kanakd3710
@kanakd3710 4 жыл бұрын
Best tutorial, thank you for creating this
@mohamadhoseinmahrooghi1401
@mohamadhoseinmahrooghi1401 3 жыл бұрын
thank you so much this video helps me a lot
@yuriinadilnyi3029
@yuriinadilnyi3029 3 жыл бұрын
very useful tutorial! keep going
@fbellod86
@fbellod86 5 жыл бұрын
Nice example, but how i can get the LONG and LAT from address typed in input, thanks!
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 7 жыл бұрын
Thank u for this awesome video
@academind
@academind 7 жыл бұрын
Thank YOU for your amazing feedback Abhishek!
@Faddablack
@Faddablack 5 жыл бұрын
Appreciate the tutorial. Great video.
@alainghawi9122
@alainghawi9122 4 жыл бұрын
The getting-started page of the angular-maps is broken as of today! I cannot find any documentation related to the agm library!
@yuriinadilnyi3029
@yuriinadilnyi3029 3 жыл бұрын
It looks strange, cuz I use it in Angular 12, and it still works.
@evthiagoandrademinevangeli6937
@evthiagoandrademinevangeli6937 6 жыл бұрын
Obrigado estamos apreendendo muito aqui no Brasil.... parabéns pelo vídeo.
@academind
@academind 6 жыл бұрын
Muito obrigado Thiago :)
@theonewheeler
@theonewheeler 4 жыл бұрын
If anyone is getting on the console.log(event) from the mapClick "c", then you need to downgrade your agm/core package to 1.1.1 because above this the mapClick doesn't work and is having bugs.
@jatinsharma7357
@jatinsharma7357 4 жыл бұрын
how can i downgrade it
@yuriinadilnyi3029
@yuriinadilnyi3029 3 жыл бұрын
​ @Jatin Sharma as far as i know you can just rewrite the version in "package.json" and "package-lock.json" (saw it in some blog)
@alokagase454
@alokagase454 2 жыл бұрын
Thanks
@soubhagyakumar6157
@soubhagyakumar6157 6 жыл бұрын
Thanks Alot. You saved my time
@academind
@academind 6 жыл бұрын
Happy to read that, thank you for your comment!
@uheltvuheltv4058
@uheltvuheltv4058 7 жыл бұрын
The amount of knowledge i gain from your videos comparing to other tutorial is insane!, Big Up for every content, all of them are helpful. PS: How can you add a placecard inside element. Thanks
@academind
@academind 7 жыл бұрын
Thanks so much, really awesome to hear that! I don't know if it's possible to manually add a placecard to be honest. I never did it and I guess it's added automatically if you include Google maps via an (as described here: stackoverflow.com/questions/36654404/google-maps-add-a-placecard)
@uheltvuheltv4058
@uheltvuheltv4058 7 жыл бұрын
Mate, one of greatest online-teachers, i just bought two of urs angular courses, just about to dive in them.
@jesusyanez726
@jesusyanez726 5 жыл бұрын
Very useful, thanks!
@academind
@academind 5 жыл бұрын
Happy to read that, thank you :)
@khajinapk1516
@khajinapk1516 3 жыл бұрын
Hi sir...Good Job... How can i get the apiKey?
@reyno_c
@reyno_c 5 жыл бұрын
Hi, I need some help here please. I've followed the video all the way till 5:19 but I get stuck here as the map just won't load. It keeps saying "Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details." in the browser. Any one knows how do I get around this issue? Thank you.
@kahanikhelki1865
@kahanikhelki1865 4 жыл бұрын
Add map JavaScript api it will work
@luca-rw7ss
@luca-rw7ss 6 жыл бұрын
the Best Angular teacher until now...i am ALSO following the Complete course! Congratz! Anyway Max the Maps is shoed, but i receive some (red) errors in the console.log: 1) initMap is not a function"; 2) You have included the Google Maps API multiple times on this page. This may cause unexpected errors. 3) stats.js:4 Uncaught TypeError: _.lf is not a constructor... any hint? I am on angular-cli 6+
@PsycMental4606
@PsycMental4606 7 жыл бұрын
Always great explination
@academind
@academind 7 жыл бұрын
Happy to read that Earl, thank you!
@igorbondarenko9854
@igorbondarenko9854 3 жыл бұрын
Thank you for this video, maybe you know how to set apki key dynamically?)
@manoj.thakur.programmer
@manoj.thakur.programmer 4 жыл бұрын
This package for basic use is good, but if you planing to use it for having feature like adding data layers etc, this package have poor documentation, any beginner may not know how to use it for generating the data layers. Some of the code still don't work.
@QwertyNPC
@QwertyNPC 6 жыл бұрын
A little question. How do I access other google maps functionality ? For instance, the geometry library for calculating distance of a polyline, or other stuff. Thanks.
@belmiris1371
@belmiris1371 6 жыл бұрын
Thanks Max!
@academind
@academind 6 жыл бұрын
Thank YOU for your comment!
@theonewheeler
@theonewheeler 4 жыл бұрын
awesome!!! How would I add a Transit Layer? Really struggling to find anything
@intouchbroesevangroenou5017
@intouchbroesevangroenou5017 4 жыл бұрын
Hi, Max. I am currently following your courses in Udemy and thanks you help me again. >_
@PinoyGuitarTutorials
@PinoyGuitarTutorials 2 жыл бұрын
Is there a snippets for direction renderer and direction service?
@us-habesaha
@us-habesaha Жыл бұрын
Awesome 👏
@ousamaelidrissi5886
@ousamaelidrissi5886 4 жыл бұрын
Nice tutorial 😎🤓
@frontendbuddy8634
@frontendbuddy8634 7 жыл бұрын
Great video!
@academind
@academind 7 жыл бұрын
Thank you Tarun :)
@2008Palden
@2008Palden 6 жыл бұрын
thanks a lot for your tutorials. could you share info on how to get address from the coords in angular? is there any link that you would recommend to follow for that? thank you.
@yannyyss
@yannyyss 6 жыл бұрын
Thank You so much Max. It's very helpfull!!!
@academind
@academind 6 жыл бұрын
That's just fantastic to read, thanks a lot for sharing this!
@newdeveloper4922
@newdeveloper4922 6 жыл бұрын
Getting error that you have exceed the daily qouta for place autocomplete api, where is the error ? I m using angular 5 . This is showing just after first request.
@argeelearner3978
@argeelearner3978 7 жыл бұрын
Hi can you make a video on how to use the KZbin API? Thank you , looking forward.
@gagangayari5981
@gagangayari5981 Жыл бұрын
Hi , I dont get the map even after adding the height. There is no any errors too. What could be the reason ?
@quanbh
@quanbh 8 ай бұрын
How to have roads connecting locations together?
@satyasharma59
@satyasharma59 9 ай бұрын
@agm/core library in not compatible with the angular ^16 versions, its of no use now
@praveenkumarbm864
@praveenkumarbm864 6 жыл бұрын
Hi Max, How can I integrate my current location as the default location. And integrate GPS service to agm-maps.
@ashutoshnakhe3318
@ashutoshnakhe3318 2 жыл бұрын
Does agm supports Angular 13 ? because I am facing issue while migrating..
@deepakkiranagi5500
@deepakkiranagi5500 5 жыл бұрын
adding the google api-key in the angular part is safe ? if not then can you tell me how can i get that through spring boot and mysql?
@xuanhunghoang3283
@xuanhunghoang3283 4 жыл бұрын
Hi Max, How to display button zoom in/out like that + / - on this map. And how to enable the switch to google street view. Thanks you!
@sothecominternational8973
@sothecominternational8973 4 жыл бұрын
Someone send this guy some flowers please
@abhishs5119
@abhishs5119 4 жыл бұрын
Hi Max, Thank You for the Video. Can you please tell how to change the agm-map center dynamically? meaning if a user chooses a particular country or city from a dropdown the map should load in the selected place.
@sravanthnetula7150
@sravanthnetula7150 5 жыл бұрын
That's awesome max, every time while placing marker on map it comes to centre can i place marker with respective area not at centre Thank you.
@ladaniavadh2996
@ladaniavadh2996 4 жыл бұрын
I want to show path between to marker how can I add this?
@namratajain8220
@namratajain8220 6 жыл бұрын
the Weather app you have created using angular 2 , i want to extend it to show country selected in google map on click of country tile. Also, the map should in different tab so that will learn routing also. please suggest. it will be really helpful in completing my app.
@theonewheeler
@theonewheeler 4 жыл бұрын
Please help i am desperate and cannot get mapClick to log the coords for the life of me unless I consle log this and then it only comes out in some weird format that I can't access
@fransjoleihitu
@fransjoleihitu 5 жыл бұрын
Nice example .. but how do you add markers (dynamicly) via code and not via template?
@kuldeepbhatt8475
@kuldeepbhatt8475 2 жыл бұрын
is AGM still maintained package ?
@shyambhurgula
@shyambhurgula 6 жыл бұрын
how add blue dot to current location please help me max
@osamakhan6033
@osamakhan6033 5 жыл бұрын
angular-maps.com , here getting started does not work anymore, is there any other source of documentation for this?
@jaseembinmuhammed4906
@jaseembinmuhammed4906 6 жыл бұрын
Max, you're awesome .... I'am really wondering about the guy who disliked this video
@academind
@academind 6 жыл бұрын
Thank you for your great feedback! It's always difficult to meet everybody's expectations but as long as most of you enjoy the videos I'm totally happy :)
@Its_wes01
@Its_wes01 5 жыл бұрын
awesome ,how to restrict user to specific country ?
@aviavinash2808
@aviavinash2808 6 жыл бұрын
That's an great video, very helpful. Is there any chance of getting Dev API key?
@RAJATSRIVASTAVAGadgetgyan
@RAJATSRIVASTAVAGadgetgyan 5 жыл бұрын
Google is asking me to enable billing to use this api? What am i doing wrong?
@spectrumsoftapp2818
@spectrumsoftapp2818 2 жыл бұрын
drawing tools couldn't be added to agm map
@shubhamchandra9258
@shubhamchandra9258 6 жыл бұрын
What changes are needed if you want to use agm in a separate module? Where should I include AgmCoreModule.forRoot({ apiKey: ' ' }) ? Thanks
@nusratafrin6433
@nusratafrin6433 6 жыл бұрын
Hi, I'm facing this issue, can you please explain how to resolve. I tried all the steps mentioned but unable to get out of this error. Error: XXX/node_modules/@agm/core/services/maps-api-loader/lazy-maps-api-loader.d.ts (1,10): Module '"XXX/node_modules/@angular/core/index"' has no exported member 'InjectionToken'. Thanks
@fahemzoldyck1729
@fahemzoldyck1729 4 жыл бұрын
is this tutorial a part of one of your courses ?
@putinscat1208
@putinscat1208 4 жыл бұрын
How are the keys not exposed to the user?
@sudheercbit
@sudheercbit 4 жыл бұрын
Its working fine in desktop browsers but not loading in the mobile browser (Safari or Chrome). I am setting the height to 300px and width to 100%. Any ideas on how this can be resolved?
@dvignesh5
@dvignesh5 6 жыл бұрын
Hi I am working on Ionic 3 trying to integrate AGM in the app pages with ionic serve cmd ... AGM work fine with the ng serve in the app component page... but when I am trying to join AGM in custom made page its not working and its showing blank.. console log errors (polyfills.js:3 GET localhost:8100/maps.css 404 (Not Found))
@ПавелКоломыткин
@ПавелКоломыткин 6 жыл бұрын
Thanks. But unfortunately, for me the site isn't available. Were there moved at an other domain?
@fabrizziocht
@fabrizziocht 7 жыл бұрын
I'm using "ng2-google-place-autocomplete" module, to use it I have to import into my index.html the line: but the problem is that I got this error: "You have included the Google Maps API multiple times on this page. This may cause unexpected errors." If I omit this line I can't use it, how can I use the same api key for both modules? Thank you for your help.
@niranjansutar6116
@niranjansutar6116 5 жыл бұрын
That's nice but how to get lng and lat from string address
@PranshuJawadeishere
@PranshuJawadeishere 6 жыл бұрын
Is there any way by which I can hide or put the API key someplace else rather than in the component file. May be save it as a constant ?
@academind
@academind 6 жыл бұрын
Hiding is not possible, your frontend code is always accessible. See: academind.com/learn/javascript/hide-javascript-code/
@MrSlug1992
@MrSlug1992 6 жыл бұрын
Wow, what are the chances?!? I am currently busy with your Angular 5 course on Udemy
@academind
@academind 6 жыл бұрын
Great to have you on board! :)
@parasmyname784
@parasmyname784 6 жыл бұрын
And i am busy with your Angular 6 course on Udemy
@TheMajonator
@TheMajonator 6 жыл бұрын
Hi guys :). Is there any way to do reverse geocoding with AGM in Angular 5? And if yes, how should I do it? Cause I have already browsed whole stackOverflow and google as well and no result. Any help will be appreciated. Also I am big fan, Max. You´re doing awesome work :)
@manatoshpritam
@manatoshpritam 4 жыл бұрын
Hi Max, should we go with AGM or the google maps angular. I see AGM page is broken.
@maksymbykov
@maksymbykov 6 жыл бұрын
Hi, namesake! Can you please say about markers clustering?
@anushree86
@anushree86 4 жыл бұрын
@Max: What if i need to assign api key dynamically how can I achieve that?
@andsviat
@andsviat 7 жыл бұрын
But how can you hide your Google Maps API key? You can't pass it like that in the app.module.ts file because it gets commited and pushed to remote repo. With this approach, you basically give out an API key. If I use Express + vanilla JS on the frontend, I can simply store the key in the .env file and pass it to the layout through router using dotenv. I have no idea what to do with Angular.
@newdeveloper4922
@newdeveloper4922 6 жыл бұрын
Getting error that you have exceed the daily qouta for place autocomplete api, where is the error ? I m using angular 5 . This is showing just after first request.
@kavitaagrawal7938
@kavitaagrawal7938 3 жыл бұрын
How can I hide the google maps API from GitHub?
@newdeveloper4922
@newdeveloper4922 6 жыл бұрын
Getting error that you have exceed the daily qouta for place autocomplete api, where is the error ? I m using angular 5
@anandumdharan6283
@anandumdharan6283 3 жыл бұрын
hey i installed agm im getting errors like cannot find namespace google
@anandumdharan6283
@anandumdharan6283 3 жыл бұрын
got it fixed....had to npm install @types/googlemaps version 3.39.12 add "googlemaps" in types array in tsconfig.app.json angular 10
@g3anonim
@g3anonim 7 жыл бұрын
Is it possible to show directions?
@Massimo-FR
@Massimo-FR 5 жыл бұрын
Try to install the npm agm-direction
@unknown_traveller
@unknown_traveller 4 жыл бұрын
Hey, if I click on the Map the output is just a simple "c" nothing more.... Why? onChooseLocation(event) { console.log(event); }
@geodev6030
@geodev6030 4 жыл бұрын
I had the same problem, seems to be a bug in v 3 beta. I reverted back to v 1 and it works fine. Run npm install @agm/core@1.1.1 or change the version number in your package.json and do an npm install
@cosmokram8454
@cosmokram8454 4 жыл бұрын
@@geodev6030 @1.1.0 FTFY
@MrLangam
@MrLangam 6 жыл бұрын
How do I point one icon marker to another?
@technophileit711
@technophileit711 8 ай бұрын
my angular 15 does't support this package
@breacker0153
@breacker0153 5 жыл бұрын
Do you have to pay for the api?
@RM-14js
@RM-14js 7 жыл бұрын
do you know if this can be used with pubnub?
@ajaysinghkoranga1217
@ajaysinghkoranga1217 6 жыл бұрын
how to change the theme of map like in google map night theme in agm any help will be appreciated
@sudhinsudhin4367
@sudhinsudhin4367 3 жыл бұрын
is it work in angular 12?
@ahmedelmetwally5172
@ahmedelmetwally5172 6 жыл бұрын
thank you
@academind
@academind 6 жыл бұрын
Thank you for your comment Ahmed!
@eswarrishigutthi9909
@eswarrishigutthi9909 Жыл бұрын
We want to pay amount for apikey
@schhajed93
@schhajed93 6 жыл бұрын
Getting error that you have exceed the daily quota for the api. I m using angular 6 . This is showing just after first request. Can anyone help me this?
@shubhamjoshi4803
@shubhamjoshi4803 7 жыл бұрын
how to set zoom on coordinates??
@yanivsalman9685
@yanivsalman9685 7 жыл бұрын
great! can you make another one on autocomplete.? sorry for demanding.. but it will help if you will someday (: i need to know how to get a json file i created with some supermarket branches and show it to the user when he click on input and search for it. and it should be according to his location . it my exame (:
@academind
@academind 7 жыл бұрын
Thanks for your suggestion! I can't promise it but I'll see what I can do
@yanivsalman9685
@yanivsalman9685 7 жыл бұрын
its amazing! how can you comment to everyone? really nice of you. keep up the good work
@barneydk
@barneydk 6 жыл бұрын
I would also love to see how to do autocomplete. Have tried a few times, but my Angular knowledge is not so good yet
@mohammadnazzal3178
@mohammadnazzal3178 7 жыл бұрын
How we can change Map language dynamically??
Get User location in Angular and mark the user in the map
19:00
Fun Of Heuristic
Рет қаралды 35 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 179 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Create a Custom Map with Google My Maps (No Code)
7:03
Steve Builds Websites
Рет қаралды 41 М.
OBSERVABLES, OBSERVERS & SUBSCRIPTIONS | RxJS TUTORIAL
17:40
Academind
Рет қаралды 585 М.
MASTER Angular in 90 Minutes with This Crash Course
1:29:09
Code with Ahsan
Рет қаралды 94 М.
Angular Image Upload Made Easy
12:43
Academind
Рет қаралды 420 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 44 МЛН
Use the Google Maps API to build a custom map with markers
24:00
Coder Coder
Рет қаралды 298 М.
How to get Google Maps API Without Billing Enabling
5:10
GoMaps
Рет қаралды 23 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН