-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working with bootstrap modal #20
Comments
Hi, |
Hi, for me it's the same in Bootstrap Modal the map is small at top left corner and autocomplete doesn't work even with: "enableAutocomplete: true" Thanks |
I have found a solution for the map issue but the autocomplete still doesn't work $('#modal').on('shown.bs.modal', function (e) {
$('#maps').locationpicker({
location: {latitude: 46.0, longitude: 6.50},
radius: 150,
enableAutocomplete: true,
inputBinding: {
latitudeInput: $('#id'),
longitudeInput: $('#id'),
radiusInput: $('#id'),
locationNameInput: $('#id')
}
});
} |
Solution for autocomplete: .pac-container {
background-color: #FFF;
z-index: 20;
position: fixed;
display: inline-block;
float: left;
}
.modal{
z-index: 20;
}
.modal-backdrop{
z-index: 10;
} |
Also since version 0.1.12 it is possible to use "autosize" method to fix map widget: $('#us6-dialog').on('shown.bs.modal', function() {
$('#us3').locationpicker('autosize');
}); |
Hi Corvis, |
Hi all, |
for solving the problem of autocomplete (auto-suggest) in bootstrap modal, only add this code to the last line of style: .pac-container{z-index:2000 !important;} |
hey, i'm stuck at this http://stackoverflow.com/questions/31631777/logicify-location-picker-using-dynamic-change-for-input Please help |
@IncredibleX hi! Answer at your question is here. |
Hi,
I want to show locationpicker in bootstrap modal. But I am unable to show map in modal.
Can you guide me how I can do that.
Thanks
The text was updated successfully, but these errors were encountered: