简体   繁体   中英

SearchBox in Form using react-google-maps

Created a Modal having Form, and I want to add a place SearchBox.

All I need is the Name of the Place and Not the Map.

Using this Project - react-google-maps I'm trying to use the above mentioned project and according to it. I am able to get the "Customized Search Box".

How can I just use the searchbox and not the whole map.

And also it's messed up in zIndex.

在此处输入图片说明

The " as " written in the Placeholder box is transparent and search suggestions ie " ashley homestore " are at the back of the box.

How to fix it? Thanks.

通过kenny-hibino切换到Google React Placeholder Autocomplete的解决方案非常简单

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM