How To Regenerate Drupal GMAP Marker Cache (Request for Invalid Marker Set)

| Drupal Website Development | 32 seen

Although it doesn't happen often, in rare situations you might get in trouble with GMAP marker sets. The most common case is change with folder permissions or migrating site to another host.

How to add Custom Markers for Gmap Module Drupal

Here is how it looks:

Request for invalid marker set notification

Request for invalid marker set notification

And here is how map field looks:

Map with missing marker (s)

Map with a missing marker (s)

The default map is displayed.

Luckily there is a simple solution - delete gmap.markers.js file from files/js folder, and markers will regenerate by themselves.

sudo rm -rf  gmap_markers.js

Now, run clear cache and all markers should be back

Marker cache cleared

Marker cache cleared

 

Receive weekly trade ideas and portfolio adjustments directly to your inbox.

I share ongoing portfolio progress with a focus on generating income through covered calls on quality stocks. Each update includes positioning changes, trade rationale, and forward-looking adjustments based on current market conditions.

Latest articles

New Synagogue Berlin

The New Synagogue in Berlin is one of the city’s most recognizable historical landmarks, located on Oranienburger Straße, within walking distance of Alexanderplatz. Its striking golden dome rises above the surrounding buildings, making it visible from afar and hard to miss even during a casual walk through the neighborhood.Originally inaugurated…

Germany |
Embedded thumbnail for Book Reading Afternoon in Tbilisi

Book Reading Afternoon in Tbilisi

At the start of March, it was Book Week at the British International School of Tbilisi. Year 3 students were given a fun assignment: create a short video about their favourite book and take photos of themselves reading in unusual places.We slightly misunderstood the task and ended up focusing entirely on reading in unusual places, turning it into…

Living in Georgia |