Skip to content

Commit

Permalink
[OSDEV-1511] Map doesn't render properly on Dashboard / Geocoder and …
Browse files Browse the repository at this point in the history
…Settings / Embed pages (#453)

[OSDEV-1511](https://opensupplyhub.atlassian.net/browse/OSDEV-1511) Map
doesn't render properly on Dashboard / Geocoder and Settings / Embed
pages

- Updated google maps api version to 3.59 (3.51-3.55 not supported)

[OSDEV-1511]:
https://opensupplyhub.atlassian.net/browse/OSDEV-1511?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
roman-stolar authored Dec 12, 2024
1 parent b77d00f commit d2807f5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions doc/release/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
* It was found that clearing OpenSearch indexes didn’t work properly because the templates weren’t cleared. After updating the index mappings within the index template files, the index template remained unchanged because only the indexes were deleted during deployment, not both the indexes and their templates. This caused conflicts and prevented developers' updates from being applied to the OpenSearch indexes.
This issue has been fixed by adding additional requests to delete the appropriate index templates to the `clear_opensearch.sh.tpl` script, which is triggered when clearing OpenSearch during deployment to any environment.
* [OSDEV-1482](https://opensupplyhub.atlassian.net/browse/OSDEV-1482) - The `GET api/v1/moderation-events/{moderation_id}` endpoint returns a single response instead of an array containing one item.
* [OSDEV-1511](https://opensupplyhub.atlassian.net/browse/OSDEV-1511) - Updated google maps api version to 3.59 for ReactLeafletGoogleLayer component (3.51 not supported).

### What's new
* [OSDEV-1132](https://opensupplyhub.atlassian.net/browse/OSDEV-1132) - Added FE for the "thanks for submitting" screen when user submits production location's data.
Expand Down
2 changes: 1 addition & 1 deletion src/react/src/components/DashboardGeocoder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function DashboardGeocoder({ countryOptions, fetchingOptions, getCountries }) {
googleMapsLoaderConf={{
KEY: GOOGLE_CLIENT_SIDE_API_KEY,
REGION: country.value || DEFAULT_COUNTRY_CODE,
VERSION: '3.51',
VERSION: '3.59',
}}
type="roadmap"
continuousWorld
Expand Down
2 changes: 1 addition & 1 deletion src/react/src/components/FacilitiesMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function FacilitiesMap({
googleMapsLoaderConf={{
KEY: GOOGLE_CLIENT_SIDE_API_KEY,
REGION: DEFAULT_COUNTRY_CODE,
VERSION: '3.51',
VERSION: '3.59',
}}
type="roadmap"
continuousWorld
Expand Down
2 changes: 1 addition & 1 deletion src/react/src/components/VectorTileFacilitiesMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function VectorTileFacilitiesMap({
googleMapsLoaderConf={{
KEY: GOOGLE_CLIENT_SIDE_API_KEY,
REGION: DEFAULT_COUNTRY_CODE,
VERSION: '3.51',
VERSION: '3.59',
}}
type="roadmap"
styles={mapStyle === 'silver' ? SILVER_MAP_STYLE : null}
Expand Down

0 comments on commit d2807f5

Please sign in to comment.