# Locations Plugin 🌍

**URL:** https://meta.discourse.org/t/locations-plugin/69742
**Category:** Plugin
**Tags:** paid-support
**Created:** [September 10, 2017, 10:36am UTC](https://meta.discourse.org/t/locations-plugin/69742 "2017-09-10T10:36:41Z")
**Posts on this page:** 1
**Showing post:** 841

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 13, 2023, 2:00pm UTC](https://meta.discourse.org/t/locations-plugin/69742/841 "2023-02-13T14:00:27Z")

</div>

> [@Roi](#):
>
> Is it possible to have a second option for `location map tile layer` which is used when the forum is in dark mode? As you can see [here](https://www.sidemount-forum.com/map) the map matches the light theme perfectly, but the users are getting blind when in dark mode. 😉

So I achieved this with a Theme Component.

Unfortunately this presently will have to be added to your designated “Dark Theme” and will not switch automatically with a user’s “Dark Mode”.

Nonetheless it’s useful progress to build upon:

```plaintext
:root {
  --map-tiles-filter: brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3) brightness(0.7);
}

.locations-map {
  .leaflet-tile-pane {
    filter:var(--map-tiles-filter, none);
  }
  .leaflet-marker-shadow {
    display: none;
  }
}

```

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/a/0/da02af7ba0b3f776d4a5f2e23796d498aa03ec98.png)

---

_[View the full topic](https://meta.discourse.org/t/locations-plugin/69742)._
