reinit whereinputadvanced in /add , and init only/also online mechanism, various fixes: admin edit place; bug in nominatim display_name when place in certain nominatim_class, init refactor geocoding related code in services/geocoding/provider; init MapEdit component
This commit is contained in:
17
server/helpers/geolocation/index.js
Normal file
17
server/helpers/geolocation/index.js
Normal file
@@ -0,0 +1,17 @@
|
||||
const isoCountries = require('./isoCountries')
|
||||
const nominatim = require('../../../server/services/geocoding/nominatim')
|
||||
const photon = require('../../../server/services/geocoding/photon')
|
||||
|
||||
// const geocodingProviders = [ nominatim, photon ]
|
||||
|
||||
// const geolocation = {
|
||||
// getGeocodingProvider(providerName) {
|
||||
// geocodingProviders.forEach((item) => {
|
||||
// if (item.commonName === settings.geocoding_provider_type) {
|
||||
// return item
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
|
||||
// module.exports = geolocation
|
||||
Reference in New Issue
Block a user