MapLibre support for HivePress

Hi,
I make a HACK for me here GitHub - xbelmondo/hivepress-geolocation: Geolocation extension for HivePress plugin. · GitHub. Changed to Maplibre. Used here https://prosledi-dalje.social-networking.me/ (just testing project)

1 Like

Hi xbelmondo. Ive tried your plugin, but its not working :confused:

Do you have settings set to Mapbox?

If I download zip file and install plugin - Geolocation in menu dissapear

can I try download it on other place?

try to install original plugin and just replace those files

I tried downloading from my github and steps are like this:

  1. first rename zip file as hivepress-geolocation.zip
  2. insltall it on WP plugin instalation page
  3. open HivePress > Extensions and activate it from here

Shuld work.

1 Like

Yes its working! Thank you very much :slight_smile:

1 Like

I am not able to make it work. I have tried as below:

first rename zip file as hivepress-geolocation.zip
insltall it on WP plugin instalation page
open HivePress > Extensions and activate it from here

Did someone else manage to install it?

I don’t understand why you have to set settings for mapbox (hivepress > > settings > integrations).

If I am using MapLibre, I am not using MapBox. Am I ?

1 Like

This is my personal hack… I just replaced the code related to Mapbox with the code for Maplibre (leaving all other settings as for Mapbox) and it worked for me. So I decided to put it here so everyone can use it… If you have time, feel free to change other parts of the code to match your needs…

1 Like

There may have been an error in renaming the ZIP file. You must first unpack the file after downloading and rename the root directory to “hivepress-geolocation” and then repack it. Then you can install it in the usual way.

1 Like

Here is version where I renamed option in setting to Maplibre and removed field for Mapbox API key in settings to remove confusion. Releases · xbelmondo/hivepress-geolocation · GitHub