JEM-Project icon indicating copy to clipboard operation
JEM-Project copied to clipboard

OSM: avoid google geocomplete

Open jojo12 opened this issue 2 years ago • 1 comments

If you don't want to use google, then you don't want to use (see) geocomplete from google. So why not hide it? It would be good to have an alternative. What we don't have within osm is the possibility to correct the coordinates!

jojo12 avatar May 17 '23 15:05 jojo12

I tested: the following is only needed, if you use google with api-key, (should be there, if you have api-key, like me) for all other cases, it is not needed, and gives without api-key an error! in backend and frontend edit venue

Admin/views/editvenue/tmpl/edit.php $wa = $this->document->getWebAssetManager(); change Line 21 $wa//->useStyle('jem.geostyle') change Line 25 //->useScript('jem.geocomplete');

Exclude Line 383 – 430

Admin/views/editvenue/view.html.php Line 57 exclude $wa->registerStyle('jem.geostyle', 'com_jem/geostyle.css')->useStyle('jem.geostyle'); exclude Line 78 - 79 exclude Line 82

Site/views/editvenue/view.html.php exclude Line 181-183 Site/views/editvenue/tmpl/responsive/edit.php exclude Line 284 – line 322

jojo12 avatar Jun 26 '23 08:06 jojo12