{"id":29562365,"url":"https://github.com/pronamic/wp-pronamic-google-maps","last_synced_at":"2025-09-12T18:33:00.698Z","repository":{"id":4148504,"uuid":"5262484","full_name":"pronamic/wp-pronamic-google-maps","owner":"pronamic","description":"This plugin makes it easy to add Google Maps to your WordPress post, pages or other custom post types.","archived":false,"fork":false,"pushed_at":"2025-07-09T07:48:25.000Z","size":3080,"stargazers_count":22,"open_issues_count":0,"forks_count":14,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-07-09T08:57:40.471Z","etag":null,"topics":["archived","deprecated","google","google-maps","google-maps-api","pronamic","wordpress","wordpress-development","wordpress-plugin"],"latest_commit_sha":null,"homepage":"http://www.pronamic.eu/plugins/pronamic-google-maps/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pronamic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-08-01T17:40:32.000Z","updated_at":"2025-07-09T07:48:26.000Z","dependencies_parsed_at":"2022-07-05T11:02:39.900Z","dependency_job_id":"e9b44f95-6864-4255-8455-8cd7fe86019d","html_url":"https://github.com/pronamic/wp-pronamic-google-maps","commit_stats":null,"previous_names":[],"tags_count":81,"template":false,"template_full_name":null,"purl":"pkg:github/pronamic/wp-pronamic-google-maps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-pronamic-google-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-pronamic-google-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-pronamic-google-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-pronamic-google-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pronamic","download_url":"https://codeload.github.com/pronamic/wp-pronamic-google-maps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronamic%2Fwp-pronamic-google-maps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265802117,"owners_count":23830510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archived","deprecated","google","google-maps","google-maps-api","pronamic","wordpress","wordpress-development","wordpress-plugin"],"created_at":"2025-07-18T17:37:01.643Z","updated_at":"2025-07-18T17:37:02.222Z","avatar_url":"https://github.com/pronamic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Pronamic Google Maps](http://www.happywp.com/plugins/pronamic-google-maps/)\n\nThis plugin makes it easy to add Google Maps to your WordPress post, pages or other custom post types.\n\n## Shortcode `googlemaps` `googlemapsmashup`\n\n### Attributes\n\n#### width\n\nType: `int|string`  \nDefault: *WordPress default embed width*\n\n#### height\n\nType: `int|string`  \nDefault: *WordPress default embed height*\n\n#### marker_options\n\nType: `array|json`  \nDefault: `array()`  \n\n#### map_options\n\nType: `array|json`  \nDefault: `array()`  \n\n#### new_design\n\nType: `boolean`  \nDefault: `false`  \n\n\n## Shortcode `googlemaps`\n\n### Example\n\n```\n[googlemaps width=\"250\" height=\"250\" static=\"true\" label=\"M\" color=\"orange\"]\n```\n\n### Attributes\n\n#### static\n\nType: `boolean`  \nDefault: `false`  \n\n#### label\n\nType: `char`  \nDefault: `null`  \n\n#### color\n\nType: `string`  \nDefault: `null`  \nExamples: `0xFFFFCC`, `black`, `brown`  \n\nSee for information about styling markers the \"Marker Styles\" section on https://developers.google.com/maps/documentation/static-maps/intro#MarkerStyles.\n\n\n## Shortcode `googlemapsmashup`\n\n### Attributes\n\n#### query\n\nType: `string`  \nDefault: `null`  \n\n#### map_type_id\n\nType: `string`  \nDefault: `roadmap`  \n\nMap style, can be: `roadmap`, `satellite`, `hybrid`, `terrain`.\n\n#### latitude\n\nType: `float`  \nDefault: `0`  \n\nLatitude value for the map center, only works if `fit_bounds` is set to `false`. \n\n#### longitude\n\nType: `float`  \nDefault: `0`  \n\nLongitude value for the map center, only works if `fit_bounds` is set to `false`.\n\n#### zoom\n\nType: `int`  \nDefault: `8`  \n\n#### fit_bounds\n\nType: `boolean`  \nDefault: `true`  \n\n#### marker_clusterer_options\n\nType: `string|array`  \nDefault: `array`  \n\nFor all cluster marker options see the [MarkerClustererOptions](http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/docs/reference.html)\nsection on the [MarkerClustererPlus](http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/docs/reference.html) documentation page.\n\nExample: `maxZoom=15\u0026gridSize=30`  \n\n#### overlapping_marker_spiderfier_options\n\nType: `string|array`  \nDefault: `array`  \n\nFor all overlapping marker spiderfier options check the https://github.com/jawj/OverlappingMarkerSpiderfier page.\n\nExample: `markersWontMove=true\u0026markersWontHide=true`  \n\n\n## Function `pronamic_google_maps`\n\n### Example\n\n```php\n\u003c?php\n\nif ( function_exists( 'pronamic_google_maps' ) ) {\n\tpronamic_google_maps( array(\n\t\t'width'       =\u003e 800,\n\t\t'height'      =\u003e 800,\n\t\t'map_options' =\u003e array(\n\t\t\t'minZoom' =\u003e 5,\n\t\t\t'maxZoom' =\u003e 10,\n\t\t),\n\t) );\n}\n```\n\n\n### Parameters\n\n#### width\n\nType: `int|string`  \nDefault: *WordPress default embed width*\n\n#### height\n\nType: `int|string`  \nDefault: *WordPress default embed height*\n\n#### static\n\nType: `boolean`  \nDefault: `false`  \n\n#### label\n\nType: `string`  \nDefault: `null`  \n\nThe `label` parameter is only available for Static Maps, for more information \nsee the [Marker Styles](https://developers.google.com/maps/documentation/staticmaps/#MarkerStyles) section\nof the [Static Maps](https://developers.google.com/maps/documentation/staticmaps/) documentation page.\n\n#### color\n\nType: `string`  \nDefault: `null`  \n\n#### echo\n\nType: `boolean`  \nDefault: `true`  \n\n#### marker_options\n\nType: `array`  \nDefault: `array()`  \n\nFor all marker options see the [MarkerOptions](https://developers.google.com/maps/documentation/javascript/reference#MarkerOptions)\nsection on the [Google Maps JavaScript API](https://developers.google.com/maps/documentation/javascript/reference) documentation page.\n\n#### map_options\n\nType: `array`  \nDefault: `array()`  \n\nFor all map options see the [MapOptions](https://developers.google.com/maps/documentation/javascript/reference#MapOptions)\nsection on the [Google Maps JavaScript API](https://developers.google.com/maps/documentation/javascript/reference) documentation page.\n\n\n## Function `pronamic_google_maps_mashup`\n\n### Example\n\n```php\n\u003c?php\n\nif ( function_exists( 'pronamic_google_maps_mashup' ) ) {\n\tpronamic_google_maps_mashup(\n\t\tarray(\n\t\t\t'post_type'      =\u003e 'post',\n\t\t\t'posts_per_page' =\u003e 50,\n\t\t),\n\t\tarray(\n\t\t\t'width'          =\u003e 800,\n\t\t\t'height'         =\u003e 800,\n\t\t\t'map_type_id'    =\u003e 'satellite',\n\t\t\t'latitude'       =\u003e 52,\n\t\t\t'longitude'      =\u003e 8,\n\t\t\t'zoom'           =\u003e 4,\n\t\t\t'fit_bounds'     =\u003e false,\n\t\t)\n\t);\n}\n```\n\n\n### Parameters\n\n#### width\n\nType: `int|string`  \nDefault: *WordPress default embed width*\n\n#### height\n\nType: `int|string`  \nDefault: *WordPress default embed height*\n\n\n## Overlapping Marker Spiderfier\n\nThe Pronamic Google Maps plugin has built-in support for the [Overlapping Marker Spiderfier](https://github.com/jawj/OverlappingMarkerSpiderfier) library.\nThis library will be enabled if you pass in the `overlapping_marker_spiderfier_options` argument in the mashup arguments, see example below.\n\n### Example\n\n```php\n\u003c?php\n\nif ( function_exists( 'pronamic_google_maps_mashup' ) ) {\n\tpronamic_google_maps_mashup(\n\t\tarray(\n\t\t\t'post_type'      =\u003e 'post',\n\t\t\t'posts_per_page' =\u003e 50,\n\t\t),\n\t\tarray(\n\t\t\t'width'  =\u003e 800,\n\t\t\t'height' =\u003e 800,\n\t\t\t'overlapping_marker_spiderfier_options' =\u003e array(\n\t\t\t\t'markersWontMove'        =\u003e false,\n\t\t\t\t'markersWontHide'        =\u003e false,\n\t\t\t\t'keepSpiderfied'         =\u003e false,\n\t\t\t\t'nearbyDistance'         =\u003e 20,\n\t\t\t\t'circleSpiralSwitchover' =\u003e 9,\n\t\t\t\t'legWeight'              =\u003e 1.5,\n\t\t\t),\n\t\t)\n\t);\n}\n```\n\n\n## Meta Keys\n\n### `_pronamic_google_maps_active`\n\n### `_pronamic_google_maps_latitude`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronamic%2Fwp-pronamic-google-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpronamic%2Fwp-pronamic-google-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronamic%2Fwp-pronamic-google-maps/lists"}