Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Raruto committed Nov 20, 2018
2 parents a4fa36f + 9fd5a1b commit 2b8003e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ _For a working example (without API Key) see [demo](https://raruto.github.io/exa
<!-- Leaflet-GoogleMutant -->
<script src="https://unpkg.com/leaflet.gridlayer.googlemutant@0.7.0/Leaflet.GoogleMutant.js"></script>
<!-- Leaflet-Pegman -->
<link rel="stylesheet" href="https://raruto.github.io/cdn/leaflet-pegman/0.0.1/leaflet-pegman.css" />
<script src="https://raruto.github.io/cdn/leaflet-pegman/0.0.1/leaflet-pegman.js"></script>
<link rel="stylesheet" href="https://raruto.github.io/cdn/leaflet-pegman/0.0.3/leaflet-pegman.css" />
<script src="https://raruto.github.io/cdn/leaflet-pegman/0.0.3/leaflet-pegman.js"></script>
...
</head>
```
Expand Down
1 change: 1 addition & 0 deletions leaflet-pegman.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@

.pegman-control.streetview-layer-active {
background: linear-gradient(#d1d1d1, #F5F5F5, #fbfbfb);
background-clip: padding-box;
}

.pegman {
Expand Down
2 changes: 1 addition & 1 deletion leaflet-pegman.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ L.Control.Pegman = L.Control.extend({
onAdd: function(map) {
this._map = map;

this._container = L.DomUtil.create('div', 'leaflet-pegman pegman-control');
this._container = L.DomUtil.create('div', 'leaflet-pegman pegman-control leaflet-bar');
this._pegman = L.DomUtil.create('div', 'pegman draggable drag-drop', this._container);
this._pegmanButton = L.DomUtil.create('div', 'pegman-button', this._container);
this._pegmanMarker = L.marker([0, 0], this._pegmanMarkerOpts);
Expand Down

0 comments on commit 2b8003e

Please sign in to comment.