Open Map examples

Basic

Leaflet ©OpenStreetMapcontributors
<OpenReactMap
  center={[
    34.32,
    108.55
  ]}
  zoom={4}
/>

Display Address

<OpenReactMap
  address="成都市"
  title="天府之国"
  zoom={10}
/>

Pick Address

Leaflet ©OpenStreetMapcontributors
<OpenReactMap
  address="成都市"
  center={[
    30.66,
    104.06
  ]}
  onChange={function rT(){}}
  zoom={10}
/>

China Tile

<OpenReactMap
  address="成都市"
  center={[
    34.32,
    108.55
  ]}
  onChange={function rT(){}}
  renderTileLayer={function rT(){}}
  zoom={4}
/>