Directory

← Back

geo-fr-api

A set of elements wrapping the french governmental geo api (Polymer 1.9 - 2.x)

Author

Rating

Popularity

<100

[ This description is mirrored from README.md at github.com/Zecat/geo-fr-api on 2019-05-22 ]

Published on webcomponents.org

Geo Fr Api

A collection of elements wrapping the french governmental geo api.

<dom-bind>
  <template>

    <geo-fr-towns
      auto
      value="{{towns}}"
      town-name="Paris"
    ></geo-fr-towns>

    <h2>Matching towns:</h2>
    <template is="dom-repeat" items="[[towns]]">
      <p>
        Name: [[item.townName]],
        postal code: [[item.codePostaux.0]],
        departement code: [[item.codeDepartement]],
        population: [[item.population]]
      </p>
    </template>

  </template>
</dom-bind>

Install

  bower install -S Zecat/geo-fr-api

Import

<!-- All components -->
<link rel="import" href="/bower_components/geo-fr-api/geo-fr-api.html">
<!-- towns components -->
<link rel="import" href="/bower_components/geo-fr-api/geo-fr-towns/geo-fr-towns.html">
<!-- addresses components -->
<link rel="import" href="/bower_components/geo-fr-api/geo-fr-addresses/geo-fr-addresses.html">

What is inside

Elements

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • polymer#Polymer/polymer#1.9 - 2
  • iron-ajax#PolymerElements/iron-ajax#1 - 2
Released
2017-06-25
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 2.0+
Browser
Browser Independent

geo-fr-api - Vaadin Add-on Directory

A set of elements wrapping the french governmental geo api (Polymer 1.9 - 2.x) geo-fr-api - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/Zecat/geo-fr-api](https://github.com//Zecat/geo-fr-api/blob/v0.2.0/README.md) on 2019-05-22 ]** [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/Zecat/geo-fr-api) # Geo Fr Api A collection of elements wrapping the [french governmental geo api](https://api.gouv.fr/api/api-geo.html). ```html ``` ## Install ```bash bower install -S Zecat/geo-fr-api ``` ## Import ```html ``` ## What is inside ### Elements - [geo-fr-towns](/geo-fr-towns) - [geo-fr-addresses](/geo-fr-addresses) - geo-fr-departments (incomming) - geo-fr-region (incomming)
Online