// Dependency is automatically installed and has to be registered
newContao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('leaflet-libs',$this->getRootDir()),// Register the bundle
newNetzmacht\Contao\Leaflet\GeocodeWidget\LeafletGeocodeWidgetBundle(),
3. Update the assets
bin/console assets:install --symlink
4. Use the widget
$GLOBALS['TL_DCA']['tl_example']['fields']['coordinates']=['label'=>['Koordinaten','Geben Sie die Koordinaten ein'],'inputType'=>'leaflet_geocode','eval'=>['tl_class'=>'w50 wizard',],'sql'=>'varchar(255) NOT NULL default \'\''];