[Mapbender-users] autocomplete not working on router search

ihara.olivera at imm.gub.uy ihara.olivera at imm.gub.uy
Wed May 18 05:35:56 PDT 2022


Hi the search works perfectly but the autocomplete is not working.
I really don´t know why. I´ve already try addng that but still not working.

----- Mensaje original -----
De: "astrid emde" <astrid.emde at wheregroup.com>
Para: "Mapbender users" <mapbender_users at lists.osgeo.org>
Enviados: Martes, 17 de Mayo 2022 12:43:04
Asunto: Re: [Mapbender-users] autocomplete not working on router search

Hello Olivera,

could you describe what exactly the problem is?

Does the search work in general?

https://doc.mapbender.org/de/functions/search/search_router.html#typ-text

You also coul add
data-autocomplete-using: nom_calle_ini

to the definition to nom_calle_fin (that will connect the two fields)

Astrid



Am 2022-05-17 15:49, schrieb ihara.olivera at imm.gub.uy:
> -------------------------
hi, i´m configuring a router search in mapbender 3.3 version and i cant 
make the autocomplete work.If anyone can help me,
regards
Belen.

  this is the config field  of the search:

class: Mapbender\CoreBundle\Component\SQLSearchEngine
class_options:
   connection: nucleo
   relation: sig_cruces_vias
   attributes:
     - cod_nombre_via_ini
     - nom_calle_ini
     - cod_nombre_via_fin
     - nom_calle_fin
   geometry_attribute: the_geom
form:
   nom_calle_ini:
     type: Symfony\Component\Form\Extension\Core\Type\TextType
     options:
       required: true
       label: 'Calle (Montevideo)'
     attr:
       data-autocomplete: 'on'
       data-autocomplete-distinct: 'on'
     compare: iexact
   nom_calle_fin:
     type: Symfony\Component\Form\Extension\Core\Type\TextType
     options:
       required: false
       label: 'Cruce con'
     attr:
       data-autocomplete: 'on'
       data-autocomplete-distinct: 'on'
     compare: exact
results:
   view: table
   count: false
   headers:
     cod_nombre_via_ini: 'Codigo de calle'
     nom_calle_ini: Calle
     cod_nombre_via_fin: 'Codigo de Cruce'
     nom_calle_fin: Cruce
   callback:
     event: click
     options:
       buffer: 10
       minScale: null
       maxScale: null
   styleMap:
     default:
       strokeColor: '#00ff00'
       strokeOpacity: 1
       strokeWidth: 3
       fillColor: '#00ff00'
       fillOpacity: 0.6
       pointRadius: 6

______________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

---------------------------------------------
Aufwind durch Wissen!
Jetzt neu: Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
---------------------------------------------

   Astrid Emde
   WhereGroup GmbH
   Eifelstraße 7
   53119 Bonn
   Germany

   Tel: +49(0)228 90 90 38 - 22
   Fax: +49(0)228 90 90 38 - 11

   astrid.emde at wheregroup.com
   www.wheregroup.com

   Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
   
https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen

   Folgen Sie der WhereGroup auf twitter:
   http://twitter.com/WhereGroup_com

   Geschäftsführer:
   Olaf Knopp, Peter Stamm
   Amtsgericht Bonn, HRB 9885
-------------------------------
_______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapbender_users

-----
El presente correo electronico y cualquier posible archivo adjunto esta dirigido unicamente al destinatario del mismo y contiene informacion que puede ser confidencial. Si Ud. no es el destinatario correcto por favor notifique al remitente respondiendo este mensaje y elimine inmediatamente de su sistema, el correo electronico y los posibles archivos adjuntos al mismo. Esta prohibida cualquier utilizacion, difusion o copia de este correo electronico por cualquier persona o entidad que no sean las especificas destinatarias del mensaje. La Intendencia de Montevideo no acepta ninguna responsabilidad con respecto a cualquier comunicacion que haya sido emitida incumpliendo nuestra normativa municipal, asi como lo previsto en la Ley 18.331 de Proteccion de Datos Personales y la Ley 18.381 de Acceso a la Informacion Publica.


This e-mail and any attachment is confidential and is intended solely for the addressee(s). If you are not intended recipient please inform the sender immediately, answering this e-mail and delete it as well as the attached files. Any use, circulation or copy of this e-mail by any person or entity that is not the specific addressee(s) is prohibited. The City Council of Montevideo is not responsible for any communication emitted without respecting our Organization Policy or the Data Protection Act and Habeas Data Action No. 18.331 and the Information Access Act N 18.381.



More information about the Mapbender_users mailing list