Problem/Motivation

We need to be able to use Geofield Map with the Geosoftware Map library.

Steps to reproduce

Only Google Maps and Leaflet are available.

Proposed resolution

We started by duplicating the whole Geofield Map library and replaced the Google specific code by the Geosoftware one.

Remaining tasks

We then switched to a plugin-enabled version of Geofield Map allowing to only override a few parts very specific to the Geosoftware code.

We are now wondering if it could be interesting to have this plugin mechanism incorporated into the original Geofield Map module.

Until then, if some are interested, we could release our plugin-enabled version of Geofield Map module.

Comments

mably created an issue.

itamair’s picture

Some link references would help to better understand what your are trying to accomplish here.
Is it this https://www.geosoftware.com the Geosoftware map library that you mention? Or what else ... ?

And of course sharing here your code and what you call "this plugin mechanism " (intermediate or final) would perfect fit the spirit and opensource approach of the Drupal community ...

mably’s picture

Hi, thanks for showing some interest in my proposal.

Here is the first module we wrote that implements the plugin mechanism:

https://gitlab.com/bordeaux-metropole-public/com-geomapext-mod

And here is the second one that implements the plugin handling GEO Software maps:

https://gitlab.com/bordeaux-metropole-public/com-geomap-mod

And here is the original code from GEO Software that simply forked the Geofield Map module but quickly lagged behind Geofield Map development and missed a few important features we needed, like lazy loading for example:

https://gitlab.com/bordeaux-metropole-public/MET-GEO-MOD

The main goal of this plugin mechanism was to be able to benefit as much as possible form on going Geofield Map development.

The main difficulty in fact was to be able to get rid of the many Google Maps references ;)

And here is the entity behind the GEO Software Maps: https://www.business-geografic.com/en/geo-software/geo-technologies.html