Salve,
ho il seguente array in php che mi serve per impostare la google maps:
Codice PHP:
<?php
$map_options 
= array(
    
"id" => "map_canvas",
    
"width" => "100%",
    
"height" => "300px",
    
"zoom" => 16,
    
"type" => "SATELLITE",
    
"custom" => "mapTypeControl: false, disableDefaultUI: true",
    
"localize" => false,
    
"address" => "Via del botteghino, scandicci, firenze",
    
"marker" => true,
    
//   "markerIcon" => default,
    
"infoWindow" => true
);
?>
Poi ho una form con il campo address:
codice:
<form accept-charset="utf-8" method="post" id="ItemMapAdminEditForm" role="form" action="/admin/item_maps/edit">
<input type="text" id="ItemMapAddress" maxlength="255" class="form-control" name="data[ItemMap][address]">
Come devo fare per aggiornare l'array e fargli rileggere la mappa tutte le volte che viene modificato il camo ItemMapAddress?

Grazie,
D.