Geo Console — Run Browser-Side Geo Snippets
Free Geo Console for KML Workbench: run small JavaScript snippets against built-in helpers (distance, destination, bearings, midpoint) entirely in your browser — not a remote PHP shell. Prototype formulas, then copy results into Destination Calculator or Circle Generator.
Key features
- Browser-side JS — no server execution
- Helpers: distanceMeters, destinationPoint, bearings, midpoint, parsePoint
- Always end snippets with return to print output
- Errors stay in the console panel
What Geo Console does
It runs JavaScript against a fixed set of geo helpers exposed in-browser. Experiment with distance, destination, and bearing math before using the full calculator UIs.
Why map and local SEO teams use it
Quickly test a formula from a spreadsheet or brief, verify a bearing projection, or batch-prototype logic before building KML rings.
Safe experimentation
No network APIs are exposed. Snippets run locally with strict mode. Refresh the page if a snippet hangs.
How to use this tool (best practice)
1) Write JS using helper names directly. 2) End with return. 3) Run. 4) Copy output into Point Validator or Destination Calculator.
Frequently asked questions
Is this Geo Console free?
Yes. It is free on GBP Local Ranker’s KML Workbench at /free-tools/kml-workbench/console — no login required.
Is this the old PHP console?
No. This is a JavaScript console wired to geo helpers — safer and fully client-side.
Can I access the network from snippets?
No network APIs are exposed. Use only the provided geo helper functions.
Why did my snippet return undefined?
Add an explicit return at the end, for example: return fmtPoint(b.lat, b.lon).
Which helpers are available?
distanceMeters, destinationPoint, initialBearing, finalBearing, midpoint, parsePoint, fmtPoint, fmtCoord, normalizeBearing.
Can a snippet break the site?
Errors stay inside the console panel. Refresh if a snippet hangs.
Example snippet?
const a = parsePoint("17.4401, 78.3489"); const b = destinationPoint(a.lat, a.lon, 1000, 90); return fmtPoint(b.lat, b.lon);
Is strict mode enabled?
Yes — snippets run with "use strict" for safer execution.
What should I do after a snippet works?
Recreate the workflow in Destination, Distance, or Circle Generator for copy-friendly UI output.
Where is the full KML Workbench suite?
Open All KML Workbench Tools at /free-tools/kml-workbench for calculators, validators, and KML tools.