We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fdd882 commit 58df78bCopy full SHA for 58df78b
application/frontend/src/app/core/services/pdf-download.service.ts
@@ -182,7 +182,7 @@ export class PdfDownloadService {
182
private mapParametersToStaticMapParameters(): Observable<string[]> {
183
return this.store.select(fromConfig.selectMapOptions).pipe(
184
map((options) => {
185
- return options.styles.map((style) => {
+ return (options?.styles || []).map((style) => {
186
const feature = `feature:${style.featureType || 'all'}|`;
187
const element = style.elementType ? `element:${style.elementType}|` : '';
188
const stylers = style.stylers
0 commit comments