<iframe width="100%" height="450" style="border:0; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);" loading="lazy" allowfullscreen referrerpolicy="no-referrer-when-downgrade" src="https://maps.google.com/maps?q=Golden%20Gate%20Bridge%2C%20San%20Francisco%2C%20CA&t=m&z=14&ie=UTF8&iwloc=&output=embed" ></iframe>
Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
Dispatches real-time fetch requests to MapTools serverless route handlers and returns benchmarked JSON telemetry.
Common uses
- Integrating geocoding into web applications
- Automating elevation lookups
- Developing mobile logistics dispatch tools
Frequently asked questions
The public playground allows up to 60 requests per minute with in-memory edge caching for high responsiveness.
More in Developer Tools
- Tile XYZ CalculatorConvert between latitude/longitude, zoom levels, and standard slippy map tile coordinates (X, Y, Z). Calculate geographic bounding boxes and URL patterns.
- QuadKey ConverterConvert between Microsoft Bing Maps QuadKey hierarchical spatial indexing strings and standard XYZ tile numbers or Lat/Lng coordinates.
- Map Embed GeneratorGenerate clean, fast-loading, responsive HTML iframe embed snippets for interactive maps to embed in websites and blogs.
- Tile Coordinate CalculatorConvert latitude and longitude coordinates into Slippy Map tile numbers (X, Y, Zoom level) and compute geographic bounding boxes.
- QuadKey ConverterConvert Slippy Map XYZ coordinates to Bing Maps QuadKey hierarchical spatial indices and back with visual quadtree breakdown.
- GeoJSON ValidatorPaste or drop a GeoJSON file to validate it against RFC 7946. Get pinpointed errors, one-click fixes for unclosed rings and winding order, and a clean download.
- US Address GeneratorGenerate random US test addresses with a real city, state and ZIP code pairing. Pick a state, choose how many you need, and copy realistic placeholder addresses for form testing, QA and demos — each with approximate map coordinates.
- UK Address GeneratorGenerate random UK test addresses with a real town, county and postcode district. Choose a town, pick how many you need, and copy correctly formatted placeholder addresses for form testing, QA and demos.
- US Phone GeneratorGenerate random US test phone numbers with real area codes for real cities — but always in the reserved fictional 555-0100 to 555-0199 range, so a generated number can never belong to a real person. Built for form testing, QA and demos.
- Polyline Encoder & DecoderConvert a list of latitude/longitude points into a Google encoded polyline string, and decode any encoded polyline back into coordinates. Choose precision 5 (the Google Maps standard) or 6, see the route drawn on a map, and copy the result — all in your browser.
- Photo GPS EditorSee the GPS location stored inside a JPEG photo, move it to the right place, or strip it out before you share the picture. Everything happens in your browser — your photo is never uploaded.
Testing a Store Locator API from a Coffee Shop in Seattle
A freelance web developer in Seattle is building a store locator for a small bakery chain. Before writing any real code, she opens the API developer playground to test the geocoding, distance, elevation, and time zone endpoints live, with her actual data, so surprises show up now instead of after launch. Her laptop, a coffee, and an hour of testing are far cheaper than a broken site on opening weekend.
Her first test is geocoding. She sends the address of the flagship bakery, written as a normal street address in the query box, and the playground returns clean JSON: latitude and longitude, a formatted address, and a status line. She repeats the test with a famous landmark to sanity-check the results, geocoding 350 Fifth Avenue in New York, and gets back about 40.7484, -73.9857, the Empire State Building, which she confirms on a map in seconds. The copyable cURL command under the response is exactly what she will paste into her own test scripts, so the request she tested is byte-for-byte the request her code will send. She saves the request and response pair into a tests folder, starting a habit that will pay off the first time a client claims the locator shows a wrong address.
Next she tries the distance matrix with her real numbers. The bakery has 4 shops and she picks 4 customer neighborhoods, and the matrix returns all 16 combinations in a single call, each with distance and drive time. Doing that with one-by-one requests would have taken 16 calls, and the playground makes the savings concrete. She also posts a short route to the elevation endpoint asking for 50 samples and gets 50 elevation points back, enough to draw the little profile chart the client wants for their delivery bike page. Finally she calls the time zone endpoint for the chain's one Portland shop, confirming its offset so pickup times display correctly for customers there.
The most valuable test is a broken one. She deliberately sends a request with an empty address field and studies the result: an HTTP 400 status with a short error message in the body. She also tries a latitude of 95, which cannot exist, and gets another clean rejection instead of nonsense data. Now she knows exactly what failure looks like, and she writes her site to show a friendly message in those cases instead of crashing or drawing a map of the ocean. An hour in the playground saves her from learning all of this in production.
Common mistakes to avoid
- Pasting live credentials into shared test links. Playground URLs and copied cURL commands can carry API keys in plain sight. Treat any copied snippet as a secret before you paste it into tickets, chats, screenshots, or public repos, because anyone holding it can spend your quota.
- Forgetting to URL-encode addresses. Spaces, commas, and symbols in a raw address break a query string. A search for Salt Lake City can silently become a search for Salt if the encoding is skipped. The playground handles encoding for you, which is exactly why hand-typed test URLs in a browser can mislead you.
- Parsing error responses as if they were data. A 400 or 429 response still returns a body, but it holds an error message, not coordinates. Code that never checks the status code will happily map your customers at latitude zero, in the ocean south of Ghana.
Pro tips
- Test with one real address and one famous landmark, so you can verify the returned coordinates by eye.
- Copy the exact cURL from the playground into your project notes; it documents the working request better than memory.
- Trigger an error on purpose once, and save the response, so you know what your error handling must catch.
Applied Geospatial: Aviation, Marine, Time & Map APIs
Where mapping meets the real world: how planes navigate the curve of the Earth, how ships measure the sea, how time zones really work, and how developers build on map tiles and APIs. Written for API Developer Interactive Console and the everyday mapping tasks around it.
Great-Circle Navigation: Why Planes Arc
The shortest path between two points on a sphere is a great circle — the route you get slicing the planet through its center. On a flat map this looks like a dramatic arc, which is why New York to Tokyo flights swing near Alaska. The map is lying; the plane is flying straight.
Airlines do not fly perfect great circles. Jet streams — rivers of wind at 35,000 feet — can add 100 mph to ground speed or subtract it. Dispatchers nudge routes into favorable winds, trading a few extra miles for much faster trips. The planned track is a great circle bent by the weather.
For flight planning, distances come in flavors. Great-circle miles are the geometric minimum; filed flight plans run 3 to 7 percent longer for airways and maneuvering. Fuel planning adds reserves on top. When a tool reports 5,500 miles for a transatlantic hop, the airline plans for 5,800.
Airports are identified by two code systems. The 3-letter IATA codes (JFK, LHR, CDG) are for travelers; the 4-letter ICAO codes (KJFK, EGLL, LFPG) are for pilots and air traffic control, with the first letter naming the region. Both point to the same runways.
At Sea: Nautical Miles, Knots & Rhumb Lines
A nautical mile is one minute of latitude — about 1.15 land miles or 1.85 kilometers. Because it derives from the Earth's geometry, it is the natural unit for marine navigation: one minute of latitude traveled equals one nautical mile made good, anywhere on the planet.
Speed at sea is measured in knots — nautical miles per hour. The word comes from sailors tossing a knotted rope overboard and counting knots paid out against a sandglass. A container ship at 20 knots covers about 480 nautical miles a day, which is why your overseas order takes weeks.
Sailors historically steered rhumb lines: courses of constant compass bearing. A rhumb line spirals toward the pole and runs longer than the great circle, but it is trivially easy to follow — just hold the heading. Modern ships with GPS follow great circles, but the rhumb line remains the backup every navigator learns.
Ports are the fixed points of maritime geography. Each major harbor publishes exact coordinates for its harbor entrance, and shipping contracts price by port pair. A few miles of error in a port position can misroute a vessel into the wrong traffic lane — precision matters even on the open ocean.
This page shows the first two chapters. Read the complete this category field guide →