File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -257,9 +257,7 @@ export var MapMLLayer = L.Layer.extend({
257257 }
258258 }
259259 }
260- return ! (
261- noLayer || this . getProjection ( ) !== map . options . projection . toUpperCase ( )
262- ) ;
260+ return ! ( noLayer || this . getProjection ( ) !== map . options . projection ) ;
263261 } ,
264262
265263 //sets the <layer-> elements .bounds property
@@ -906,7 +904,7 @@ export var MapMLLayer = L.Layer.extend({
906904 mapml
907905 . querySelector ( 'map-meta[name=projection]' )
908906 . getAttribute ( 'content' )
909- ) . content . toUpperCase ( ) || projection ;
907+ ) . content || projection ;
910908 } else if ( mapml . querySelector ( 'map-extent[units]' ) ) {
911909 const getProjectionFrom = ( extents ) => {
912910 let extentProj = extents [ 0 ] . attributes . units . value ;
You can’t perform that action at this time.
0 commit comments