Skip to content

Commit

Permalink
modify the zoom in / out style
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny-Zhangzhao committed Nov 14, 2018
1 parent d4d8a80 commit c0b9e3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/Hello World.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">

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

<!-- latest minified version of vectormap.js -->
Expand All @@ -25,13 +25,13 @@
</head>

<body>
<div id="map" style="width:800px;height:600px;"></div>
<div id="map" style="width:100%;height:100%;"></div>
</body>
<script>
var worldstreetsStyle = "http://cdn.thinkgeo.com/worldstreets-styles/1.0.0/light.json";
var worldstreets = new ol.mapsuite.VectorTileLayer(worldstreetsStyle,
{
apiKey: 'your-ThinkGeo-Cloud-Service-key' // please go to https://cloud.thinkgeo.com to create
apiKey: 'A4_MkfJUJSwFGBQEbkJpybsDJpqTPNLKPTyeZKoeJhQ~' // please go to https://cloud.thinkgeo.com to create
});
let map = new ol.Map({
layers: [worldstreets],
Expand Down
2 changes: 1 addition & 1 deletion style/vectormap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c0b9e3a

Please sign in to comment.