This repository was archived by the owner on Sep 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @ccalamos/gatsby-source-googlemaps-static" ,
33 "description" : " Gatsby source plugin for Google Maps Static API" ,
4- "version" : " 2.0.10 " ,
4+ "version" : " 2.0.11 " ,
55 "author" : " Cole Calamos <cole@colejcalamos.com>" ,
66 "bugs" : {
77 "url" : " https://github.com/ccalamos/gatsby-source-googlemaps-static/issues"
Original file line number Diff line number Diff line change @@ -22,12 +22,16 @@ class ImageFile extends CacheFile {
2222 this . useSignature = options . hasSecret ;
2323 delete options [ "baseUrl" ] ;
2424
25- let appendStr = "" ;
26-
27- appendStr += this . parseArrayParams ( "markers" , options . markers ) ;
28- appendStr += this . parseArrayParams ( "visible" , options . visible ) ;
29- appendStr += this . parseArrayParams ( "style" , options . styles ) ;
30- appendStr += this . parseArrayParams ( "path" , options . paths ) ;
25+ const appendStr = `${ this . parseArrayParams (
26+ "markers" ,
27+ options . markers ,
28+ ) } ${ this . parseArrayParams (
29+ "visible" ,
30+ options . visible ,
31+ ) } ${ this . parseArrayParams ( "style" , options . styles ) } ${ this . parseArrayParams (
32+ "path" ,
33+ options . paths ,
34+ ) } `;
3135
3236 this . options = this . generateParams ( options , "" , appendStr ) ;
3337 this . extension = `.${ options . format } ` ;
You can’t perform that action at this time.
0 commit comments