import React from 'react'; import type { Metadata } from 'next'; import GeolocationGenerator from './GeolocationGenerator'; import { MapPin, Shield, Zap, Smartphone, Navigation, Map, Download, Share2 } from 'lucide-react'; import { QRCodeSVG } from 'qrcode.react'; import { ToolBreadcrumb } from '@/components/seo/BreadcrumbSchema'; // SEO Optimized Metadata export const metadata: Metadata = { title: 'Free Geolocation QR Code Generator | Maps & Directions | QR Master', description: 'Create a QR code for a specific location using Latitude and Longitude. Scanners will open Google Maps directly to your pin. Free & Precise.', keywords: ['location qr code', 'maps qr code', 'google maps qr generator', 'geolocation qr', 'coordinates qr code'], alternates: { canonical: 'https://qrmaster.io/tools/geolocation-qr-code', }, openGraph: { title: 'Free Geolocation QR Code Generator | QR Master', description: 'Navigate users to any location with a QR code. Opens directly in Google Maps.', type: 'website', url: 'https://qrmaster.io/tools/geolocation-qr-code', images: [{ url: '/og-geolocation-generator.png', width: 1200, height: 630 }], }, twitter: { card: 'summary_large_image', title: 'Free Geolocation QR Code Generator', description: 'Create QR codes for maps and locations. Instant and free.', }, robots: { index: true, follow: true, }, }; // JSON-LD Structured Data const jsonLd = { '@context': 'https://schema.org', '@graph': [ { '@type': 'SoftwareApplication', name: 'Geolocation QR Code Generator', applicationCategory: 'UtilitiesApplication', operatingSystem: 'Web Browser', offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD', }, aggregateRating: { '@type': 'AggregateRating', ratingValue: '4.7', ratingCount: '890', }, description: 'Generate QR codes that open specific geographic coordinates in map applications.', }, { '@type': 'HowTo', name: 'How to Create a Location QR Code', description: 'Create a QR code that points to a specific map location.', step: [ { '@type': 'HowToStep', position: 1, name: 'Get Coordinates', text: 'Find the Latitude and Longitude of your location (e.g., from Google Maps).', }, { '@type': 'HowToStep', position: 2, name: 'Enter Data', text: 'Paste the coordinates into the generator.', }, { '@type': 'HowToStep', position: 3, name: 'Customize', text: 'Choose a color and style for your map QR code.', }, { '@type': 'HowToStep', position: 4, name: 'Download', text: 'Save your QR code as a high-quality image.', }, { '@type': 'HowToStep', position: 5, name: 'Share', text: 'Place it on invitations, signs, or your website.', }, ], totalTime: 'PT45S', }, { '@type': 'FAQPage', mainEntity: [ { '@type': 'Question', name: 'Which map app does it open?', acceptedAnswer: { '@type': 'Answer', text: 'Our generator creates a universal Google Maps link. On most devices, this will open the Google Maps app if installed, or the browser version if not. It is the most compatible method.', }, }, { '@type': 'Question', name: 'How do I find my Latitude and Longitude?', acceptedAnswer: { '@type': 'Answer', text: 'On Google Maps desktop: Right-click any spot on the map. The first item in the menu is the coordinates. Click to copy them.', }, }, { '@type': 'Question', name: 'Does it work offline?', acceptedAnswer: { '@type': 'Answer', text: 'The QR code itself can be scanned offline, but the user will likely need an internet connection to load the map and get directions.', }, }, { '@type': 'Question', name: 'Can I use an address instead?', acceptedAnswer: { '@type': 'Answer', text: 'For precise results, we use coordinates. However, you can use our URL Generator and paste a link to your Google Maps address search result if you prefer.', }, }, { '@type': 'Question', name: 'Is it free?', acceptedAnswer: { '@type': 'Answer', text: 'Yes, generating this location QR code is completely free and requires no signup.', }, }, ], }, ], }; export default function GeolocationQRCodePage() { return ( <>