mike-000

Results 204 comments of mike-000

It shows the extent of the geometry being edited. As a geometry rotates its extent will change: https://codesandbox.io/s/simple-forked-89w0ku?file=/main.js

The easiest way to get the unrotated extent size needed to scale the image is to reverse the rotation in a clone of the geometry https://codesandbox.io/s/simple-forked-gjlvgk?file=/main.js (OpenLayers rotates geometries in...

Yes, same problem as #515 as can be demonstrated in OpenLayers own example https://codesandbox.io/s/layer-swipe-forked-fdtie7 It does the vector rendering after firing the postrender event and needs a timeout to fix...

It could be done. You could create a custom projection in OpenLayers which combines all the UTM zones into a single projection, by adding 1000000 to the x coordinates for...

It would need special cases in the transforms, e.g. https://codesandbox.io/s/mgrs-forked-4km7cj?file=/main.js That is not quite correct as it should be based on latitude, not 1000 km UTM y coordinate edges

`ol.geom.Circle` is not a standard geometry type, and it is a circle only in the plane of the projection. Instead if you use a `geometryFunction` as in https://openlayers.org/en/latest/examples/draw-and-modify-geodesic.html to produce...

@theGilles That method will work well only if you are using a local view projection such as UTM, 2152 or 27700. In a web mercator view at 45 degrees north...

I don't think we need a temporary fix which could be broken again by OL7. Decide what should be in OL7, implement it, then fix this so it behaves as...

Maptiler has sample code https://cloud.maptiler.com/maps/ (login to get access to the code) using tiles designed for non-EPSG:3857 projections where the tilegrid options are hardcoded. Ordnance Survey have an EPSG:27700 example...

I hadn't considered Mapbox Styles with multiple layers (e.g. the MapTiler satellite hybrid) but that could be done by moving the new OpenLayers layers to a layer group after an...