Commit 16ff4ddb authored by jvfpw18's avatar jvfpw18

Add coordinates to map

parent 8ee3433f
......@@ -138,7 +138,7 @@ class Eixo1 extends Component {
<Col s={12}>
<Card title = {"Mapa " + this.state.clickedRow['nome_territorio']}>
<Map
center={[-38.51,-4.14]}
center={[this.state.clickedRow.lat, this.state.clickedRow.lng]}
zoom={13}
onClick={this.addMarker}
onLocationfound={this.handleLocationFound}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment