Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Search the Community

Showing results for tags 'map block'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Club Discussion
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Club Discussion
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers 🇫🇷's Topics
  • France Designers 🇫🇷's Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location


Badges

Found 1 result

  1. I can open map on a button click in Javascript, but I need to be able to open a map with a gps coordinates that change what I would like is to open a map block with these new coordinates. If that is not possible set the button code to open the map also with these new coordinates. <html> <body> <p id="demo"></p> <form> <label><b>message1</b></label> <input type="text" name="message" id="msg1"> <label><b>Number</b></label> <input type="text" name="message" id="msg2"> </form> <input type="submit" onclick="showInput();"><br/> <input type="button" onclick="location.href='http://maps.apple.com/?daddr='+'result[0][2]';" value="Apple Maps" /> // or googlemaps is fine too </body> <script> function showInput() { // Do some stuff that changes the coordinates var lat= 41.4837; var lng = -72.876; // Here i would like to set the lat lng of the maps block and insert it to my webpage or open the map above to these new coordinates so when the user clicks it goes to this address. }
×
×
  • Create New...