Add service file and pin for map
This commit is contained in:
@@ -6,6 +6,7 @@ import centerImage from './images/center.png'
|
||||
import settingsImage from './images/settings.png'
|
||||
import searchImage from './images/search.png'
|
||||
import cancelImage from './images/cancel.png'
|
||||
import pinImage from './images/pin.png'
|
||||
|
||||
export class Home extends React.Component {
|
||||
static navigatorButtons = {
|
||||
@@ -88,7 +89,9 @@ export class Home extends React.Component {
|
||||
key={marker.key}
|
||||
coordinate={marker.latlng}
|
||||
title={marker.title}
|
||||
description={marker.location} />
|
||||
description={marker.location}
|
||||
image={pinImage}
|
||||
anchor={{x: 0.5, y: 1.0}} />
|
||||
))
|
||||
}
|
||||
</MapView>
|
||||
|
||||
BIN
mobile/src/screens/images/pin.png
Normal file
BIN
mobile/src/screens/images/pin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user