Home Explore Help
Sign In
p3k
/
Atlas
1
0
Fork 0
Code Issues 0 Pull Requests 0 Releases 0 Wiki Activity
https://github.com/aaronpk/Atlas
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 Commits
1 Branch
46 MiB
Tree: 0a60b1e030
main
Branches Tags
${ item.name }
Create branch ${ searchTerm }
from '0a60b1e030'
${ noResults }
Atlas/views/map.php

4 lines
114 B
Raw Normal View History

Remove Slim and Savant; built-in routing and rendering Atlas is now a plain library plus a tiny web app with no framework: - p3k\Atlas\App routes the seven endpoints, p3k\Atlas\View renders the plain PHP templates, p3k\Atlas\Response carries the result. Controllers are ported line for line from the Slim closures. - p3k\geo\StaticMap\render() returns the image bytes and content type instead of sending headers and echoing, so other apps can embed it. generate() remains as a wrapper. The tile size constant is namespaced. - Fix Airports::from_code() (the file handle was never kept) and the reference to a Geocoder class that never existed. - composer: type library, PHP 8.1+, ext-gd required; lib/helpers.php is no longer autoloaded so nothing global leaks into consumers. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LeX8DR83QNwGUBJDAXj8fi
2 days ago
​
​
​
  1. <header>
  2. <h1>Atlas Static Maps</h1>
  3. <p>See the <a href="/static-maps">Static Maps API docs</a>.</p>
  4. </header>
Powered by Gitea Version: 1.13.0 Page: 9ms Template: 1ms
English
English 简体中文 繁體中文(香港) 繁體中文(台灣) Deutsch français Nederlands latviešu русский Українська 日本語 español português do Brasil Português de Portugal polski български italiano suomi Türkçe čeština српски svenska 한국어
Licenses API Website Go1.15.5