fix tests for r294
git-svn-id: http://svn.openlayers.org/trunk/openlayers@295 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -7,7 +7,8 @@
|
|||||||
function test_01_Feature_constructor (t) {
|
function test_01_Feature_constructor (t) {
|
||||||
t.plan( 5 );
|
t.plan( 5 );
|
||||||
|
|
||||||
feature = new OpenLayers.Feature(new OpenLayers.LonLat(2,1),
|
feature = new OpenLayers.Feature("myfeature",
|
||||||
|
new OpenLayers.LonLat(2,1),
|
||||||
{
|
{
|
||||||
iconURL:'http://boston.openguides.org/features/ORANGE.png',
|
iconURL:'http://boston.openguides.org/features/ORANGE.png',
|
||||||
iconW: 12,
|
iconW: 12,
|
||||||
@@ -22,7 +23,7 @@
|
|||||||
|
|
||||||
function test_02_Feature_createMarker (t) {
|
function test_02_Feature_createMarker (t) {
|
||||||
t.plan( 11 );
|
t.plan( 11 );
|
||||||
feature = new OpenLayers.Feature(new OpenLayers.LonLat(2,1),
|
feature = new OpenLayers.Feature("myfeature", new OpenLayers.LonLat(2,1),
|
||||||
{
|
{
|
||||||
iconURL:'http://boston.openguides.org/features/ORANGE.png',
|
iconURL:'http://boston.openguides.org/features/ORANGE.png',
|
||||||
iconW: 12,
|
iconW: 12,
|
||||||
|
|||||||
Reference in New Issue
Block a user