Navigate to coordinates from link in google maps

Size
1,805 Kb
Views
20,240

How do I make an navigate to coordinates from link in google maps?

What is a navigate to coordinates from link in google maps? How do you make a navigate to coordinates from link in google maps? This script and codes were developed by Gyula Szathmary on 02 November 2022, Wednesday.

Navigate to coordinates from link in google maps Previews

Navigate to coordinates from link in google maps - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Navigate to coordinates from link in google maps</title>
</head>
<body> <a onclick="navigate(31.046051,34.85161199999993)" >Israel</a> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Navigate to coordinates from link in google maps - Script Codes JS Codes

function navigate(lat, lng) { // If it's an iPhone.. if ((navigator.platform.indexOf("iPhone") !== -1) || (navigator.platform.indexOf("iPod") !== -1)) { function iOSversion() { if (/iP(hone|od|ad)/.test(navigator.platform)) { // supports iOS 2.0 and later: <https://bit.ly/TJjs1V> var v = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/); return [parseInt(v[1], 10), parseInt(v[2], 10), parseInt(v[3] || 0, 10)]; } } var ver = iOSversion() || [0]; if (ver[0] >= 6) { protocol = 'maps://'; } else { protocol = 'http://'; } window.location = protocol + 'maps.apple.com/maps?daddr=' + lat + ',' + lng + '&amp;ll='; } else { window.open('https://maps.google.com?daddr=' + lat + ',' + lng + '&amp;ll='); } }
Navigate to coordinates from link in google maps - Script Codes
Navigate to coordinates from link in google maps - Script Codes
Home Page Home
Developer Gyula Szathmary
Username gyusza
Uploaded November 02, 2022
Rating 3
Size 1,805 Kb
Views 20,240
Do you need developer help for Navigate to coordinates from link in google maps?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Gyula Szathmary (gyusza) Script Codes
Create amazing Facebook ads with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!