File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,13 @@ const URL_REGEX = /^om:\/\/(.+)\/(\d+)\/(\d+)\/(\d+)$/;
6060
6161const getStateKeyFromUrl = ( url : string ) : string => {
6262 const match = url . match ( URL_REGEX ) ;
63- // FIXME: removing arrows=true avoids duplicate decoding for raster and vector layers (for windspeeds)
6463 // This should be generic over any vector layer settings.
6564 if ( match ) {
6665 // match[1] is "<omUrl>?query" without the leading "om://"
67- return match [ 1 ] . replace ( 'arrows=true' , '' ) ;
66+ return match [ 1 ] ;
6867 }
6968 // JSON request or non-tile URL: just strip the om:// prefix
70- return url . replace ( / ^ o m : \/ \/ / , '' ) . replace ( 'arrows=true' , '' ) ;
69+ return url . replace ( / ^ o m : \/ \/ / , '' ) ;
7170} ;
7271
7372const getOrCreateUrlState = (
You can’t perform that action at this time.
0 commit comments