DDR Locator Application; could be modified into a general location finder.
This repo used to host a basic Web UI, which has moved to https://github.com/Andrew67/ddr-finder-ng
The official working demo is at https://ddrfinder.andrew67.com/, using data snapshots from multiple sources.
MIT license (see LICENSE); excludes favicon.png, arcade-machine.jpg, apple-touch-icon.png, and other items that have their own license declarations (such as the fonts, icons and stylesheets from Metro UI).
- Modify all absolute URLs and copyright notices (keeping proper MIT license attribution in place).
- Create a
db-conf.php
file to connect to your database, created by the schema script in thesql/
folder. - Create a
cors-conf.php
file to set the web origins allowed to access the API.
MySQL is used.
<?php
return array('driver' => 'mysql',
'host' => 'localhost',
'username' => 'user',
'password' => 'pass',
'database' => 'ddrfinder',
);
<?php
return [
'allowed-origins' => ['https://example.com', 'http://localhost:4200'],
'allowed-origin-suffix' => 'pages.dev',
];
See the sql
directory for table creation and schema upgrade scripts.
- Zenius -I- vanisher.com for inspiring me to make this (and being a comprehensive source of arcade data).
- Dive into HTML5 for information on the HTML5 Geolocation API.
- Wikipedia for the distance conversion formula.
- The Open Graph Protocol for protocol information (makes sharing on social networks look nice).
- The following sources when searching for how to trigger navigation/map apps on mobile platforms:
- https://habaneroconsulting.com/Blog/Posts/Opening_native_map_apps_from_the_mobile_browser.aspx
- http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/MapLinks.html (dead link)
- https://msdn.microsoft.com/en-us/library/windows/apps/jj635237.aspx (for WP7; now redirects to Windows 10 URIs)
- https://stackoverflow.com/questions/3990110/how-to-show-marker-in-maps-launched-by-geo-uri-intent/7405992#7405992
- DDR-Navi for Japan data.