b13 / geocoding Goto Github PK
View Code? Open in Web Editor NEWTYPO3 Extension: Geocoding: Provides services for google maps GeoCoding API
TYPO3 Extension: Geocoding: Provides services for google maps GeoCoding API
https://packagist.org/packages/b13/geocoding#dev-master doesn't show the same last commit like github.
TYPO3 v8 has switched to Doctrine DBAL, this should be supported to ensure compatibility with TYPO3 v9 which will drop the old DB layer.
GeoService.php, near line 230:
$cacheManager = GeneralUtility::makeInstance('TYPO3\CMS\Core\Cache\CacheMananger');
should be:
$cacheManager = GeneralUtility::makeInstance('TYPO3\CMS\Core\Cache\CacheManager');
Is there a plan to update the extension?
When using the Geocoding API with a key, the service needs to be called via https:
Regards,
Uwe Michelfelder
Hi,
even if a api key is configured in the extension settings, it won't be used, because it is commented out:
Regards,
Uwe Michelfelder
Is neither city nor zip is entered the check if (empty($addressPart))
fails because a white space makes $addressPart
being not empty.
geocoding/Classes/Service/GeoService.php
Lines 81 to 88 in f8cfd7f
Would be a solution to check with strlen(trim($addressPart)) <= 0
instead.
Background:
Otherwise this can lead to two consecutive commas. As a result the request leads sometimes to ZERO_RESULTS
.
Is the solution okay? Shall I make a PR?
Do you plan an update of your extension in the near future?
It would be nice to have an error message if something is wrong with the API key.
Had for example the following problem:
{
"error_message" : "This API key is not authorized to use this service or API.",
"results" : [],
"status" : "REQUEST_DENIED"
}
Will create a PR.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.