Skip to content

Commit c0b9e3a

Browse files
modify the zoom in / out style
1 parent d4d8a80 commit c0b9e3a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/Hello World.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88

99
<!-- style sheet for vectormap.js -->
10-
<link rel="stylesheet" href="https://cdn.thinkgeo.com/vectormap-js/1.0.2/vectormap.css">
10+
<link rel="stylesheet" href="../style/vectormap.css">
1111
</link>
1212

1313
<!-- latest minified version of vectormap.js -->
@@ -25,13 +25,13 @@
2525
</head>
2626

2727
<body>
28-
<div id="map" style="width:800px;height:600px;"></div>
28+
<div id="map" style="width:100%;height:100%;"></div>
2929
</body>
3030
<script>
3131
var worldstreetsStyle = "http://cdn.thinkgeo.com/worldstreets-styles/1.0.0/light.json";
3232
var worldstreets = new ol.mapsuite.VectorTileLayer(worldstreetsStyle,
3333
{
34-
apiKey: 'your-ThinkGeo-Cloud-Service-key' // please go to https://cloud.thinkgeo.com to create
34+
apiKey: 'A4_MkfJUJSwFGBQEbkJpybsDJpqTPNLKPTyeZKoeJhQ~' // please go to https://cloud.thinkgeo.com to create
3535
});
3636
let map = new ol.Map({
3737
layers: [worldstreets],

style/vectormap.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)