Skip to main content

· One min read
Rob Blackbourn

A major release was added in order to add the cluster marker, which comes with dependencies. It was decided to take the opportunity to move the geojson functionality to a separate package.

Rob

· One min read
Rob Blackbourn

This release added a new Pin component and a Popup component to help with positioning.

Examples can be found in the overlay layer stories.

Rob

· One min read
Rob Blackbourn

This is the first production release.

There will be no breaking changes, only bug fixes and feature enhancements.

Rob

· One min read
Rob Blackbourn

More breaking changes.

I finally got round to documenting the hooks. As I often find with attempting to explain something, the process reveals things that need improvement.

This ended in me renaming the interaction hooks to: useDrag, useZoom, and useClick, which I find more obvious.

I think the next step is to come out of alpha versions and make a major release.

Rob

· One min read
Rob Blackbourn

Many breaking changes in this release.

The primary goal was to support tile providers that served tiles of sizes other than 256 square (in particular 512 square, which seems to becoming very common).

This required:

  • Adding tile width and height to the tile providers,
  • Passing tile width and height through to coordinate calculators,
  • Passing tile width and height to the interaction hooks (which calculate coordinates).

The requirement to pass the tile size to so many places made it clear that the map (in it's current state) makes no sense without the tile layer. Because of this the tile layer is now always present in the map, and not exported.

As the tile provider is so significant I considered making it a mandatory property, but decided against it. I did make the tile width and height mandatory in the interaction hooks, to provide a hint that they need to be set correctly.

Rob