plain-solutions-gmbh / kirby-map

Geolocation field & map block: All you need for a map on your website
MIT License
29 stars 2 forks source link

Kirby 4 compatibility #12

Closed arnoson closed 1 year ago

arnoson commented 1 year ago

Thanks for the great plugin!

I'm trying to get it to work with Kirby 4, and it the Structure constructor and options have changed (see the breaking changes section here).

 new Structure([$field->yaml()], $field->parent())

should become

Structure::factory([$field->yaml()], ['parent' => $field->parent()]);

I can create a PR if you want

plain-solutions-gmbh commented 1 year ago

Hello. Thanks for your input. This fix and other things (linke search dialog) is in version 1.1.0.