Maps need to define a center. There are many ways to do that. It might also be desired, to combine methods. Right now cente options are hardcoded. Move them to plugins.

Comments

ChristianAdamski created an issue. See original summary.

ChristianAdamski’s picture

Status: Active » Fixed
paulmartin84’s picture

Component: Geolocation field » Geolocation Field / Backend

Hi @ChristianAdamski

I previously wrote some additional centering options which I have found useful They are in this issue https://www.drupal.org/project/geolocation/issues/2858033

If I were to rewrite them as plugins would you consider adding them?

ChristianAdamski’s picture

Status: Fixed » Needs work

@paulmartin84 absolutely. But I'm currently not yet happy with how this works. These CenterOptions are supposed to work with CommonMap Views Style (That's where you would add for example), but also with widget, formatter, and also completely without any map in the proximity field & filter.

And I'm currently still thinking on how to do that.

ChristianAdamski’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.