Skip to content

Commit

Permalink
map js
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirish committed Sep 16, 2024
1 parent be33ff6 commit fde0018
Show file tree
Hide file tree
Showing 7 changed files with 214 additions and 306 deletions.
5 changes: 5 additions & 0 deletions _config/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
Name: elemental-locations
After:
- '*'
---
Dynamic\Locations\Model\Location:
extensions:
- Dynamic\Elements\Locations\Extension\LocationDataExtension
Expand Down
29 changes: 13 additions & 16 deletions dist/css/map.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
#map {
.locations-map {
height: 700px;
}

#panel {
/* Styling for an info pane that slides out from the left.
* Hidden by default. */
.locations-panel {
display: none;
position: absolute;
left: 0;
top: 0;
z-index: 1000;
background-color: #fff;
width: 300px;
height: 700px;
padding-top: 20px;
overflow-y: auto;
}

/* Styling for Autocomplete search bar */
Expand Down Expand Up @@ -50,20 +61,6 @@
.hidden {
display: none;
}

/* Styling for an info pane that slides out from the left.
* Hidden by default. */
#panel {
display: none;
position: absolute;
left: 0;
top: 0;
z-index: 1000;
background-color: #fff;
width: 300px;
height: 100%;
overflow-y: auto;
}

.open {
width: 250px;
Expand Down
Loading

0 comments on commit fde0018

Please sign in to comment.