Logicify / jquery-locationpicker-plugin

JQuery Location Picker plugin
MIT License
389 stars 260 forks source link

Working with hidden DIVs #19

Closed EnterateNorte closed 9 years ago

EnterateNorte commented 9 years ago

This is not an issue, is more like a question

How can some one work with the map when its loaded to a hidden DIV then made apear via JQUERY?

corvis commented 9 years ago

Yeah this is an issue at this point. I proposed a few solutions in this thread: https://github.com/Logicify/jquery-locationpicker-plugin/issues/7

corvis commented 9 years ago

Hey, here is an update: in version 0.1.12 I added new method which allows to update gmap widget. Let's say you would like to use locationpicker in modal dialog:

$('#us6-dialog').on('shown.bs.modal', function() {
    $('#us3').locationpicker('autosize');
});

Checkout examples folder for details.