Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

input adresse ville automatique

<!DOCTYPE html>
<html>
  <head>
    <title>Drawing Tools</title>
    <script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
       <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB66GfQcN_lknxN1jwSMo12GPva-fOMPq8&libraries=places" type="text/javascript">  </script>

    <!-- jsFiddle will insert css and js -->
  </head>
  <body>
     <form>
    <div>
      <label>Adresse</label>
      <input id="user_input_autocomplete_address" placeholder="Votre adresse...">
    </div>

    <div>
      <label>Numéro</label>
      <input id="street_number" name="street_number" disabled>
    </div>

    <div>
      <label>Route</label>
      <input id="route" name="route" disabled>
    </div>

    <div>
      <label>Code postal</label>
      <input id="postal_code" name="postal_code" disabled>
    </div>

    <div>
      <label>Ville</label>
      <input id="locality" name="locality" disabled>
    </div>

    <div>
      <label>Pays</label>
      <input id="country" name="country" disabled>
    </div>

    <div>
      <label>Latitude</label>
      <input id="latitude" name="latitude" disabled>
    </div>

    <div>
      <label>Longitude</label>
      <input id="longitude" name="longitude" disabled>
    </div>
  </form>
  </body>
</html>
Source by www.sois-net.fr #
 
PREVIOUS NEXT
Tagged: #input #adresse #ville #automatique
ADD COMMENT
Topic
Name
8+7 =