| Drupal Development | 31 seen

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

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

Subscription

For $10/month, 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.