mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
- Google's Geocoding web service refuses referrer-restricted keys, so the browser call forced GOOGLE_MAPS_API_KEY to ship unrestricted - add /api/google/geocode and /api/google/reverse-geocode, using the server key like Places and Street View already do - the browser key now needs the Map Tiles API only
19 lines
513 B
JavaScript
19 lines
513 B
JavaScript
/** Place-search and route middleware for Node development servers. */
|
|
export {
|
|
googlePlacesContextProxy,
|
|
validateGeocodeAddress,
|
|
geocodeBounds,
|
|
} from './places/google.js';
|
|
export {
|
|
googleServerApiKey,
|
|
keylessGooglePlacesResponse,
|
|
keylessGoogleGeocodeResponse,
|
|
} from './places/google-key.js';
|
|
export { installRouteMiddleware } from './places/routes.js';
|
|
export {
|
|
makeRateLimiter,
|
|
makeOptInRateLimiter,
|
|
clientKey,
|
|
} from './common/rate-limit.js';
|
|
export { haversineKm } from './common/geo.js';
|