How to add a map to your website with JavaScript

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 29

  • @GoogleMapsPlatform
    @GoogleMapsPlatform  Před 2 lety +2

    Subscribe to Google Maps Platform for tutorials, tips, user stories, announcements, and more! → goo.gle/GMapsPlatform

  • @not_enoughmana
    @not_enoughmana Před 4 lety +6

    Thank you for talking slowly and clearly in this video. Other Google tutorials go so fast for some reason! Great job.
    I wish there were other API-specific Google channels to apply this same method of teaching and help users get a hang of the basics.

  • @maskman4821
    @maskman4821 Před 4 lety +4

    It's so easy to add google map in web page, thanks for this short but informative and useful tutorial !!!

  • @kaleabyalewdeg9433
    @kaleabyalewdeg9433 Před 4 lety +3

    So clear and easy, you thought us well.

  • @nahidofficialqa
    @nahidofficialqa Před 4 lety +3

    Jen Person Thank You for suggestion

  • @drnotebook
    @drnotebook Před rokem

    Great job. You are awesome at explaining things, and you have a great smile !!

  • @garymaclaren7191
    @garymaclaren7191 Před rokem +4

    didnt work.

  • @vishnuvardhanreddy8584

    Thanks for video Google

  • @rajkumart08
    @rajkumart08 Před 3 lety

    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

  • @rajkumart08
    @rajkumart08 Před 3 lety

    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

  • @tkskemnaker2956
    @tkskemnaker2956 Před 4 lety +2

    smart and nice tattoo

  • @Fatbat3000
    @Fatbat3000 Před rokem

    The example page you reference above, "adding a Google Map", that has this video on it, is broken. The marker is not displaying. It doesn't work on your page, in the JSFiddle, or locally on my test site.

    • @GoogleMapsPlatform
      @GoogleMapsPlatform  Před rokem

      Try again; we observed a short glitch and it should be resolved now.

  • @MukeyinaTanganyika
    @MukeyinaTanganyika Před 2 měsíci

    Noice❤

  • @sanjayyogi8978
    @sanjayyogi8978 Před 2 lety

    can you please help me, I want to store search results from the search bar ....

    • @GoogleMapsPlatform
      @GoogleMapsPlatform  Před 2 lety

      Are you asking about Place Search results or general Google search results?

    • @sanjayyogi8978
      @sanjayyogi8978 Před 2 lety

      @@GoogleMapsPlatform yes place search result but also store in multiple forms..and also create a popup on the marker with search...

  • @user-se6mu3pu5e
    @user-se6mu3pu5e Před 10 měsíci

    I have watched this 4 times, and for some reason, I keep getting distracted. The video is awesome but I can't seem to focus on the information.

  • @christianprinceranara1017

    How to add road closure?

    • @GoogleMapsPlatform
      @GoogleMapsPlatform  Před rokem

      Road closures will be shown if you add the Traffic Layer. Sample code at developers.google.com/maps/documentation/javascript/examples/layer-traffic

  • @Menell1000
    @Menell1000 Před rokem

    Where's documentation link?

    • @GoogleMapsPlatform
      @GoogleMapsPlatform  Před rokem

      We always try to provide a documentation link in the video description. Here are two:
      Adding a Google Map → goo.gle/36nRIcS
      Reference documentation → goo.gle/3227Op4

  • @usamarajpoot7403
    @usamarajpoot7403 Před 7 měsíci

    google is not defined

  • @JayusDiary
    @JayusDiary Před 4 lety

    Please make video on integration of Google Map with Android app and live tracking of mobile device or GPS system ...
    Thank You

  • @mutheuatsiaya6451
    @mutheuatsiaya6451 Před 4 lety +1

    Can you teach us how to calculate distance between two points using polylines??

    • @alexmuramoto5849
      @alexmuramoto5849 Před 4 lety

      The Maps JS API's Geometry Library has spherical.computeDistanceBetween:
      developers.google.com/maps/documentation/javascript/reference/geometry#spherical.computeDistanceBetween
      You can manually do it using the Haversine formula:
      stackoverflow.com/questions/1502590/calculate-distance-between-two-points-in-google-maps-v3

  • @vishnuvardhanreddy8584

    google thanks you so much....

  • @dukesook
    @dukesook Před 7 měsíci

    Error: Access to script at 'file://......./index.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.