Always copy graphicName symbols, because there were too many issues with use/defs. Ctrl-Click and Shift-Click now works as expected on graphicName symbols. p=marcjansen, r=me (closes #2985)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10976 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -378,22 +378,6 @@
|
||||
var string = r.getShortString(point);
|
||||
t.eq(string, "2,-4", "returned string is correct");
|
||||
}
|
||||
|
||||
function test_svg_getnodetype(t) {
|
||||
if (!OpenLayers.Renderer.SVG.prototype.supported()) {
|
||||
t.plan(0);
|
||||
return;
|
||||
}
|
||||
|
||||
t.plan(1);
|
||||
|
||||
var r = new OpenLayers.Renderer.SVG(document.body);
|
||||
|
||||
var g = {CLASS_NAME: "OpenLayers.Geometry.Point"}
|
||||
var s = {graphicName: "square"};
|
||||
|
||||
t.eq(r.getNodeType(g, s), r.supportUse ? "use" : "svg", "Correct node type for well known symbols");
|
||||
}
|
||||
|
||||
function test_svg_importsymbol(t) {
|
||||
if (!OpenLayers.Renderer.SVG.prototype.supported()) {
|
||||
|
||||
Reference in New Issue
Block a user