Skip to content
Snippets Groups Projects
Commit 426943dd authored by Terry Liao's avatar Terry Liao
Browse files

UI modification

parent acf930d6
No related branches found
No related tags found
No related merge requests found
...@@ -541,9 +541,9 @@ html { ...@@ -541,9 +541,9 @@ html {
display: block; display: block;
color: rgb(253, 253, 253); color: rgb(253, 253, 253);
position: absolute; position: absolute;
transform: translate(25%, -70%); transform: translate(5%, -70%);
font-size: 1.35rem; font-size: 1.35rem;
width: 31rem; width: 33rem;
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
text-align: left; text-align: left;
background: rgba(4, 42, 66, 0.75); background: rgba(4, 42, 66, 0.75);
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>COMP90024 Team:69</title> <title>COMP90024 Team:69</title>
<link href="http://a.amap.com/Loca/static/manual/example/style/demo.css" rel="stylesheet"> <!-- <link href="http://a.amap.com/Loca/static/manual/example/style/demo.css" rel="stylesheet"> -->
<style> <style>
html, html,
body, body,
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<script> <script>
var map = Loca.create('container', { var map = Loca.create('container', {
mapStyle: 'amap://styles/070f548e06917955722ed5b9ac9a06f2',
zoom: 4.5, zoom: 4.5,
center: [150, -28] center: [150, -28]
}); });
...@@ -162,12 +162,12 @@ ...@@ -162,12 +162,12 @@
layer.setOptions({ layer.setOptions({
style: { style: {
radius: function(data){ radius: function(data){
return data.value.size return 15+data.value.size/4
}, },
color: '#c54400', color: '#FFFF00',
borderColor: '#c5001f', borderColor: '#c5001f',
borderWidth: 1.5, borderWidth: 1.5,
opacity: 0.3 opacity: 0.6
}, },
}); });
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
layer0.setOptions({ layer0.setOptions({
style: { style: {
radius:5, radius:8,
color: '#626262', color: '#626262',
borderColor: '#626262', borderColor: '#626262',
borderWidth: 1.5, borderWidth: 1.5,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment