Тёмный

Setting Up Google Maps JavaScript API 

Steve Griffith - Prof3ssorSt3v3
Подписаться 102 тыс.
Просмотров 26 тыс.
50% 1

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 68   
@rolikaseventysix
@rolikaseventysix 3 года назад
I wish every tutorial on RU-vid was narrated by you.
@mirjana72003
@mirjana72003 4 года назад
Thank you so, so much, I was about to throw my laptop out of the window because of google cloud platform frustration! This is the only up to date tutorial that shows this entire setup, thank you again Steve!
@heavydirtysoul1491
@heavydirtysoul1491 4 года назад
one of the best tutorials for understanding how to set up Google Map API
@joel.solano59
@joel.solano59 4 года назад
The only video that really helped me with my proyect in the hole internet! It just works! good tutorial!
@sophieberg3634
@sophieberg3634 3 года назад
This is so great, I wish I found this video a few days ago before figure it out myself. You are great, keep instructing and thank you very much for your help :-)
@samuelslivos4054
@samuelslivos4054 2 года назад
Thank you, very good video on this topic, easy to understand, your voice sounds really good.
@tonykempson4331
@tonykempson4331 5 лет назад
Thank you! You gave a very clear explanation of the billing aspect of using the Map APIs.
@konstantinkkk8397
@konstantinkkk8397 5 лет назад
I like that you zoom up code, easy to watch on mobile phones))
@mo.ali.
@mo.ali. 5 лет назад
thanks is informative, you solved problem (google not defined) by this way of load script
@Banjer
@Banjer 5 лет назад
Thank you very much and please post more videos about google maps!!
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 лет назад
coming soon.
@konstantinkkk8397
@konstantinkkk8397 5 лет назад
Yes yes))
@konstantinkkk8397
@konstantinkkk8397 5 лет назад
Waiting for this video, thank you)))
@Maccelerate
@Maccelerate 5 лет назад
Holy shit thanks for this! I was wondering about how to add the maps API to my websites and you come out with the vidwo. Thanks Steve!
@smalljump
@smalljump 4 года назад
Really helpful video. Thank you!!!
@Bruno-ds8ze
@Bruno-ds8ze 5 лет назад
thank you great tutorial
@ExcelexpertoMx
@ExcelexpertoMx 5 лет назад
Thank you very much.. very very easy like you comments on this video. thanks a lot
@TheRonron1994
@TheRonron1994 5 лет назад
Do you need to activate billing in order to use let say Places API?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 лет назад
Google has changed their billing recently. So, to do anything with maps without the watermark overlay you need to set up billing.
@aditibose3486
@aditibose3486 2 года назад
Can you share the blueprint of the keys.js file what it looks like and where exactly this MAPKEY is defined?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 года назад
The whole keys.js file is: const MAPKEY='1234567890abcdefg';
@avellynyoanwiratan4276
@avellynyoanwiratan4276 4 года назад
What if i dont have Billing account? Can i get api key without Billing account?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 года назад
You can get a key but it wont work without valid billing info.
@Youssef-lv6wp
@Youssef-lv6wp 4 года назад
Thanks u so much
@mustafawael8617
@mustafawael8617 5 лет назад
Keep going 😍😍
@Time21
@Time21 5 лет назад
can you do a tutorial about places api and geocoding the address?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 лет назад
Please add that to my tutorial request video so I can keep track.
@jimbo2849
@jimbo2849 4 года назад
Thank you
@konstantinkkk8397
@konstantinkkk8397 5 лет назад
Show pls how to add logo icon instead of standart pointer
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 лет назад
Please add this to my Tutorial Request video from my channel home page.
@rajkumart08
@rajkumart08 3 года назад
Hi Is there any method in google maps where I can get the list of markers which I see in the specific view port and show it in list view
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
If you have your own array of Markers you can call their getPosition() method to get the coordinates of each marker. A LatLngBounds object can define a rectangle. developers.google.com/maps/documentation/javascript/reference/coordinates#LatLngBounds - set its dimensions to match your current map. Then use the LatLngBounds.contains( ) method to see if each marker is inside. Every Map object has a getBounds( ) method that will give you a LatLngBounds object.
@rajkumart08
@rajkumart08 3 года назад
@@SteveGriffith-Prof3ssorSt3v3 hey do you have any working prototype, is there any way can we solve when we drag the map left or right or while we zoom in and zoom out too. Is there any way can we calculate distance between the markers and provide the result in sorting order
@behindthescenex
@behindthescenex 4 года назад
Thank you for this video sir. One question, if i want to locate the user geopoints (lat, lng) does the google maps api provide any method for that ?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 года назад
That is built into HTML5 - here is my video about geolocation - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NIAqR34eg7I.html
@rajkumart08
@rajkumart08 3 года назад
Hi, in google maps how to zoom based on markers if one is in California and if another is in newyork. So that both the markers are visible
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
Markers all have a LatLng position. You can use that to create a Bounding box for the map. developers.google.com/maps/documentation/javascript/examples/control-bounds-restriction
@rajkumart08
@rajkumart08 3 года назад
@@SteveGriffith-Prof3ssorSt3v3 hey thanks for your reply, in react native google maps they have focus markers is there any methods similar to that
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
@@rajkumart08 for react native the solution will completely depend on which map component you are importing and using.
@rajkumart08
@rajkumart08 3 года назад
@@SteveGriffith-Prof3ssorSt3v3 hey is there any way can we achieve
@rajkumart08
@rajkumart08 3 года назад
Hi, is there any way can we get click events on top of the cluster
@affanmajid6325
@affanmajid6325 4 года назад
can u guide how to make auto complete places field with displaying hote search script
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 года назад
If you are looking for an autocomplete form input here is a good article on building one - 24ways.org/2019/making-a-better-custom-select-element/
@MegaFinch21
@MegaFinch21 3 года назад
Hi, do you know how can i use the google maps JS API in my backend? instead of using it in the .html file, using it in the server part. I'm making a server with node.js and express, and i need to calculate some distances
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
The Maps API is designed to run in the browser with a rendered map with image tiles. If you have the latitude and longitude and you just want a distance between the points, that is just a little math. www.movable-type.co.uk/scripts/latlong.html
@MegaFinch21
@MegaFinch21 3 года назад
@@SteveGriffith-Prof3ssorSt3v3 what i want is that distance, and represent the map in the browser with two markers, one for my house, and the other one for me, the server is receiving lat and lng every 20 seconds. What i think is my best option is, do the math operation between the two points, and send the lat and long to the html using .ejs to create two markers and represent them in the map. I think that's the best option for me.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
The other way around is better. Use the maps API in the browser where you can actually run it, render the map, put the markers on, calculate the distances in the browser. If you need any of the data on your server then use fetch( ) to upload it after rendering and calculating.
@massmaharajadda4957
@massmaharajadda4957 2 года назад
Sir.. Is this api is free of cost.. Or paid.. Please explain
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 года назад
Both. You need a method of payment registered but then you get to use the free usage tier.
@justkeepfilming9767
@justkeepfilming9767 4 года назад
Great video! Is there any way I can track my realtime location using html and JS? (e.g. when i go for a walk and then display the route that i walked on a map) Thanks! :)
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 года назад
The Geolocation API - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NIAqR34eg7I.html And then you can display markers on the map or Draw a Path on the map.
@justkeepfilming9767
@justkeepfilming9767 4 года назад
@@SteveGriffith-Prof3ssorSt3v3 thank you ill check it out! :)
@harshitsinghal1440
@harshitsinghal1440 5 лет назад
SIr please put the link of key.js file also?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 лет назад
That is my key. You have to create your own.
@harshitsinghal1440
@harshitsinghal1440 5 лет назад
@@SteveGriffith-Prof3ssorSt3v3 Sir I have created the key...Tell me how to put that key in key.js ?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 лет назад
It is just a variable holding the string value of the key. You don't even have to put it in a separate file if you don't want to.
@christinepellicane6689
@christinepellicane6689 3 года назад
@@SteveGriffith-Prof3ssorSt3v3 is there an issue with keeping the key hidden if you create an app through GitHub? Or can the app be deployed/key hidden through Google Cloud?
@iamkarrot1268
@iamkarrot1268 4 года назад
You need to pay to use your JS Map API?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 года назад
You need to register with Google and provide payment information. You get hundreds of dollars of free credits to start with.
@dreamonline3374
@dreamonline3374 4 года назад
HEY SIR I NEED URGENT SUPPORT FROM YOU HOW CAN I CONTACT YOU ?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 года назад
I am not available for one-on-one support for anyone except my students at College.
@mackynikat8833
@mackynikat8833 3 года назад
. watching wyl eating
Далее
Google Maps Controls
6:57
Просмотров 3,5 тыс.
Google Maps JavaScript API Tutorial
27:27
Просмотров 1 млн
Oxxxymiron, ooes - журавли
00:19
Просмотров 78 тыс.
Can You Bend This Bar?
01:00
Просмотров 5 млн
Женщина на опознании
00:11
Просмотров 13 тыс.
Elon Musk fires employees in twitter meeting DUB
1:58
Google Maps in React - Building interactive maps
25:02
Просмотров 197 тыс.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Google Maps API v3.36 Tutorial - February 2019
39:28
Просмотров 96 тыс.
How to add a map to your website with JavaScript
5:15
Oxxxymiron, ooes - журавли
00:19
Просмотров 78 тыс.