Skip to content

Commit

Permalink
Fix url encode issue for markers in static map images
Browse files Browse the repository at this point in the history
  • Loading branch information
Tam committed Jul 3, 2020
1 parent 9ea2f6a commit 2d1ee53
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.8.4.1 - 2020-07-03
### Fixed
- Fix url encode issue for markers in static map images

## 3.8.4 - 2020-06-12
### Changed
- Allow zoom override on Google/Mapbox embeds
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ether/simplemap",
"description": "A beautifully simple Map field type for Craft CMS 3",
"version": "3.8.4",
"version": "3.8.4.1",
"type": "craft-plugin",
"license": "proprietary",
"minimum-stability": "dev",
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/StaticMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function __construct (
'color' => $m[1],
'label' => $m[2],
]);
}, explode(';', $markers));
}, explode(';', urldecode($markers)));
}

/** @var Settings $settings */
Expand Down

0 comments on commit 2d1ee53

Please sign in to comment.