CommanderStorm left a comment (openstreetmap/openstreetmap-website#6504)

> It was nearly two years ago now so it's hard to remember and things may well 
> have improved - looking at my branch it looks like I struggled with layer (or 
> should I say style) switching and 

Not sure what was the problem there.

Style switching works as demonstrated my https://maputnik.maplibre.org or 
https://map-gl-style-switcher.netlify.app/

Finer grained interactivity is also possible, no need to switch out everything.
See https://maputnik.maplibre.org or https://nav.tum.de/view/mi for examples of 
this.

> I never got geocoding working though I may have given up before attempting 
> that.

Geocoding is not something that maplibre does. We are a renderer, but nominatim 
has this functionality.

If you are refering to geolocation, that works quite well. IMO better than 
leaflet given the animation ^^

```js
maplibregl.GeolocateControl({
  positionOptions: {
    enableHighAccuracy: true
  },
  trackUserLocation: true
});
```
 
> I seem to recall that drawing tools were hard as well, or rather than they 
> all wanted to add geometries and missed the ability of the leaflet ones to be 
> able to "draw" a marker instead - not sure if we use that ourselves though.

The tooling in this area certainly has improved.

Back 2y ago, we were still quite new and plugins like https://terradraw.io/ 
(among others) did not exist (CC @JinIgarashi)

> I think the final straw (which definitely doesn't affect us) was probably 
> when I realised that I was probably never going to be able to include the 
> google tile layers.

That actually is possible, but implementations of this [are not open 
source](https://linkedin.com/posts/yurik_electric-vehicle-charging-stations-rivian-activity-7353477614587506688-6OnL).
Not a concearn for OSM though 😉

> I did attempt in [#6234 
> (comment)](https://github.com/openstreetmap/openstreetmap-website/issues/6234#issuecomment-3109509258)
>  to enumerate what features we needed for osm.org.

I think @controversial already went into all the cases.
We support all of them. I see no issues on that side.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6504#issuecomment-3498049918
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6504/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to