Add useFeedTitle option to georss layer -- defaults to true -- to determine
whether to use the remote title or the local name. (Closes #731) git-svn-id: http://svn.openlayers.org/trunk/openlayers@4226 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -28,6 +28,15 @@
|
||||
t.eq( layer.name, "Crschmidt's Places At Platial", "Layer name is correct." );
|
||||
} );
|
||||
}
|
||||
|
||||
function test_Layer_GeoRSS_dontUseFeedTitle (t) {
|
||||
t.plan( 1 );
|
||||
layer = new OpenLayers.Layer.GeoRSS('Test Layer', georss_txt, {'useFeedTitle': false} );
|
||||
t.delay_call( 1, function() {
|
||||
t.eq( layer.name, "Test Layer", "Layer name is correct when not used from feed." );
|
||||
} );
|
||||
}
|
||||
|
||||
function test_01_Layer_GeoRSS_AtomParsing (t) {
|
||||
t.plan( 6 );
|
||||
layer = new OpenLayers.Layer.GeoRSS('Test Layer', atom_xml );
|
||||
|
||||
Reference in New Issue
Block a user