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 |
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Deighton Service
|
||||
Description=Deighton AR Service
|
||||
After=rabbitmq-server.service mongod.service redis-server.service
|
||||
|
||||
[Service]
|
||||
@@ -8,7 +8,7 @@ User=ubuntu
|
||||
Group=ubuntu
|
||||
WorkingDirectory=/home/ubuntu/deighton-ar/server
|
||||
Environment='NODE_ENV=production'
|
||||
ExecStart=/usr/bin/node server/index.js
|
||||
ExecStart=/usr/bin/node src/server.js
|
||||
Restart=on-abort
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user