How can I make pinned extension logos match UI icons?

How can I make pinned extension logos match UI icons?

Hello, I want to change the icons of pinned extensions to be consistent with Zen's UI icons.

I would like to know where to find the icon set used by Zen, and the design parameters (canvas size, stroke width etc.) so I can design my own if possible.

More importantly, I want to know how to change the icon of third party extensions.

Thank you!

u/mirojones — 2 days ago
▲ 2 r/gis

Hi, I'm making an app with MapLibre GL JS and I want to show OSM data (e.g. phone number, address, website) when a user clicks on a feature on the map. Here's an example of what I want. Something like this:

import { Map as MapLibreMap } from 'https://esm.sh/maplibre-gl';
    
const map = new MapLibreMap({
  container: document.querySelector('.map'),
  style: 'https://tiles.openfreemap.org/styles/liberty',
});
    
map.on('click', async (ev) => {
  // This doesn't actually work
  const osmData = await fetch(`https://osm.example.com/feature/${ev.id}`);
  document.querySelector('.data').append(
    JSON.stringify(await osmData.json())
  );
});

I think maybe Overpass can help me with this?

reddit.com
u/mirojones — 2 months ago

I am searching for a spacial reference system which isn't Anglocentric. My understanding is that any spacial reference system needs a prime meridian from which to measure longitude.

While I found historical prime meridians characterised by their intersection with places other that Greenwich, they are all astronomically arbitrary. I think a prime meridian defined by astronomy would be the most satisfying system.

An idea I had is for the longitude to be defined by the subsolar/sublunar point at a specified time. The time would need to be specified relative to ran astronomical epoch.

Would this work? If so, what could the epoch be defined as? If not, are there existing systems that would work to specify a precise point on Earth without using an arbitrary point of reference?

reddit.com
u/mirojones — 2 months ago