If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

JS Animated. How to change Google map location (based on JS API)

JS Animated. How to change Google map location (based on JS API)

This tutorial shows how to change Google map location in JS Animated template.

Js Animated. How to change google map_1

  1. Open file that holds Google map location. It is google-map.js file located in js/ file.

  2. Look for the line:

    var coordData = new google.maps.LatLng(parseFloat(51.506637), parseFloat(-0.128378));

    You will need to change latitude and longitude value:

    (parseFloat(51.506637), parseFloat(-0.128378)

    Js Animated. How to change google map_2

  3. Now you need to find out the latitude and longitude at Google Maps website.

    • Right-click the place or area on the map.

    • Select What’s here?:

      Js Animated. How to change google map_3

    • Under the search box, an info card with coordinates will appear:

      Js Animated. How to change google map_4

  4. Enter the new latitude and longitude to google-map.js file and save changes.

  5. Refresh the Contact us page of your website to see the changes.

Feel free to check the detailed video tutorial below:

JS Animated. How to change Google map location (based on JS API)