Latest posts

Browse topics

How to Fix Missing MarkeClusterer Icons for Drupal Gmap Module

I have been using Drupal + Mapping for years already. My most favorite combination Location + Gmap module for entering and displaying location info. 

Recently I did upgrade for Gmap module for this blog and things went wrong - customized province names disappeared and... Marker Clusterer icons were gone soon afterwards. My first thoughts were that latest Gmap module have done something wrong, turned out I was wrong. My next idea was it's related to Advanced Aggregation module - again wrong.

Finally the problem as it seems is related to - https://www.drupal.org/node/2734133 - Google has moved its source to github.

The MarkerClusterer library not shows the cluster icons because it has moved to github as it described here.

As it was pointed out by user chrbak on Drupal.

Today I decided finally to get back Marker Clusterer, because without it - it just looks ugly and breaks things apart.

Broken MarkerCluster

Broken Marker Clusterer icons

Above you can see my travel map, unfortunately marker cluster is broken. Let's fix this.

To do that download the library file (markerclusterer.js) and the images folder and put them to thirdparty folder of gmap module.

Now open markercluster.js file and edit following: (line 193)

MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ = '../images/m';

to


MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ = '../sites/all/modules/gmap/thirdparty/images/m';

Save your file, clear Drupal cache and you should be fine:

Working Marker Clusterer icons

Working Marker Clusterer icons

Puente Nuevo (Ronda Bridge)

The Puente Nuevo (New Bridge) or as we called it - Ronda Bridge is the newest and largest of three bridges that span the 120-metre (390 ft)-deep chasm that carries the Guadalevín River and divides the city of Ronda, in southern Spain.

We had a chance to visit the Puente Nuevo at the start of June (temperature that day was about 40 Celsius), for me, as for an eager excelling photographer this was a nice place to put my knowledge in place.

Let's start with panoramic photography:

Puente Nuevo

Puente Nuevo

The architect was José Martin de Aldehuela, who died in Málaga in 1802. The chief builder was Juan Antonio Díaz Machuca.

The bridge was started in 1751 and took 42 years to build. Fifty workers were killed during its construction. There is a chamber above the central arch that was used for a variety of purposes, including as a prison. 

Tourists gathering at Ronda Bridge

Tourists gathering at Ronda Bridge

Above from the bridge you can get spectacular views. 

During the 1936-1939 civil war both sides allegedly used the prison as a torture chamber for captured opponents, killing some by throwing them from the windows to the rocks at the bottom of the El Tajo gorge. The chamber is entered through a square building that was once the guard-house. It now contains an exhibition describing the bridge's history and construction.

Puente Nuevo in HDR

Puente Nuevo in HDR

It was a bright daylight, and probably I could get alone without a tripod (which I actually decided not to carry with me), but I noticed some tourist shooting from a tripod and asked could I borrow it for a few shots. The guy gave me his tripod and I made above HDR from it. Thank you - tripod guy near Ronda Bridge.

View from Puente Nuove bridge in Ronda

View from Puente Nuove bridge in Ronda

Siempre Igual Tapas Bar in Ronda

We visited Ronda, town in Spain' with one particular goal - to visit and photograph the bridge of Ronda. It was very hot day at start of June. We parked our car in a good distance from our destination and started to explore Ronda. One of our first stops were at Siempre Igual tapas bar.

It was already midday, a siesta has been started already so we opted for some tapas. 

Siempre Igual Tapas Bar in Ronda

Siempre Igual Tapas Bar in Ronda

Mussel tapas

Mussel tapas

For about 6 EUR, you can get such dish with mussels. Delicious. 

Tapas

Tapas

Veggies and octopus... for following dish, price about EUR 1.5

Mini chorizo tapa

Mini chorizo tapa

Price for above tapa - one euro. Amazing.

Once in Ronda, make sure you check out Siempre Igual Tapas bar.

Postcards from Spain

I wish I was writting down names of all those lovely places, we visited in Costa Del Sol in Spain, as I marked just the major spots. Today we were heading from Marbela, via Estepona towards Ronda, I made following pictures somewhere in the middle.

Bar in the boat

Pink boat

Costa Del Sol beach

Costa Del Sol beach

White village in Spain

White village in Spain

How to Renew Let's Encrypt SSL Certificate

Free SSL certificates from Let's Encrypt certify are issued for a short 3 month term. I first enabled secure HTTPS pages around at start of 2016, and now it's time to renew SSL. 

The following tutorial is written for Nginx, but should work for Apache as well (with minor modifications)

Stop Nginx​

sudo service nginx stop

To trigger the renewal process for all installed domains, run this command:

sudo /opt/letsencrypt/letsencrypt-auto renew

Start Nginx
​

sudo service nginx start

Now, check from your browser window your site, does SSL certificate validity has been extended for next 90 days,