Skip to content

Commit

Permalink
Add bg image
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaZhem committed Dec 13, 2023
1 parent 9fa6c1b commit 21d48e0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
Binary file added assets/0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/55.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@

<body>
<div id="map"></div>
<style>
.ymaps-2-1-79-balloon__layout {
background-image: url("./assets/0.jpg");
}
.ymaps-2-1-79-balloon__content {
background-color: transparent;
}
.ymaps-2-1-79-balloon__tail::after {
background-color: transparent;
}
.ymaps-2-1-79-balloon-content__footer {
color: white;
}
a {
color: white;
}
</style>
</body>

</html>
1 change: 1 addition & 0 deletions placemark.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function init () {
$.ajax({
url: "data.json"
}).done(function(data) {
console.log(data);
objectManager.add(data);
});

Expand Down

0 comments on commit 21d48e0

Please sign in to comment.