Add service file and pin for map

This commit is contained in:
John Lyon-Smith
2018-03-15 18:09:06 -07:00
parent 7bd5c64f21
commit 7311239b4e
3 changed files with 6 additions and 3 deletions

View File

@@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -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]