PHPackages                             burnbright/silverstripe-widget-googlemap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. burnbright/silverstripe-widget-googlemap

ActiveSilverstripe-module

burnbright/silverstripe-widget-googlemap
========================================

A simple, non-bloated, google maps SilverStripe widget.

0921[1 PRs](https://github.com/burnbright/silverstripe-widget-googlemap/pulls)PHP

Since Jan 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/burnbright/silverstripe-widget-googlemap)[ Packagist](https://packagist.org/packages/burnbright/silverstripe-widget-googlemap)[ RSS](/packages/burnbright-silverstripe-widget-googlemap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Google Maps Widget
==================

[](#google-maps-widget)

A google map widget for SilverStripe. This widget has intentially been made simple, leaving out any bloat.

CMS options include:

- Latitude / Longitude
- Zoom Level
- Disable Controls

Customising the map
-------------------

[](#customising-the-map)

You can customise the map via javascript, by accessing stored references to each map, found in the global variable `GoogleMapWidget.maps`.

For example, to style all maps grey, pan left 200px, and add a custom marker:

```
(function($) {
	$(document).ready(function() {
		if(typeof GoogleMapWidget != 'undefined'){ //if widget is present
			var style = [
				{
					"stylers": [
						{ "saturation": -100}
					]
				}
			];
			var customMapType = new google.maps.StyledMapType(style);
			var map;
			for (var i in GoogleMapWidget.maps) {
				map = GoogleMapWidget.maps[i]
				map.mapTypes.set("STYLED_MAP", customMapType);
				map.setOptions({
					mapTypeId: "STYLED_MAP"
				});
				map.panBy(200,0);
				map.marker.setIcon("mysite/images/map_marker.png");
			};
		}
	});
})(jQuery);
```

Create a custom map styles here:

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1356335?v=4)[Jeremy Shipman](/maintainers/jedateach)[@jedateach](https://github.com/jedateach)

---

Top Contributors

[![jedateach](https://avatars.githubusercontent.com/u/1356335?v=4)](https://github.com/jedateach "jedateach (3 commits)")

### Embed Badge

![Health badge](/badges/burnbright-silverstripe-widget-googlemap/health.svg)

```
[![Health](https://phpackages.com/badges/burnbright-silverstripe-widget-googlemap/health.svg)](https://phpackages.com/packages/burnbright-silverstripe-widget-googlemap)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
