Freeze work item location after it is created

This commit is contained in:
John Lyon-Smith
2018-05-15 10:03:12 -07:00
parent 77ed56ddf5
commit 8fcfa26063

View File

@@ -334,12 +334,16 @@ export class WorkItem extends React.Component {
height: 400,
marginBottom: 10,
}}
zoomControlEnabled={false}
zoomEnabled={!binder._id}
scrollEnabled={!binder._id}
rotateEnabled={false}
pitchEnabled={false}
showsUserLocation
showsBuildings={false}
showsTraffic={false}
showsIndoors={false}
zoomControlEnabled={false}
rotateEnabled={false}
cacheEnabled
initialRegion={config.initialRegion}
onRegionChange={this.handleRegionChange}
onMapReady={this.handleOnMapReady}