You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
Thank you for this great package!
I want to use autocomplete in shiny textInput, and display the location on a google map:
textInput("someaddress",label = NULL,width = "100%"),
HTML(paste0(" <script>
function initAutocomplete() {
var autocomplete = new google.maps.places.Autocomplete(document.getElementById('someaddress'));
autocomplete.addListener('place_changed', function() {
var place = autocomplete.getPlace();
Shiny.setInputValue('jsName', place.name);
Shiny.setInputValue('jsAddress', place.formatted_address);
});
} </script>
<script src='https://maps.googleapis.com/maps/api/js?key=", map_key2, "&libraries=places&callback=initAutocomplete' async defer></script>"))
It works but I have an error message on the console of my browser : You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors (and yes some times the map is not visible)
The text was updated successfully, but these errors were encountered:
The autocompletion is slow but works partialy : provides suggestions but I get an error when I clear the input : Error in [: incorrect number of dimensions
Hi there!
Thank you for this great package!
I want to use autocomplete in shiny textInput, and display the location on a google map:
It works but I have an error message on the console of my browser : You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors (and yes some times the map is not visible)
The text was updated successfully, but these errors were encountered: