From 1f77d278eff81d506d441851fcb1187ed2fadc81 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 21 Mar 2010 18:00:33 +0000 Subject: [PATCH] Demonstrating that graphicXOffset works the same in IE and FF. git-svn-id: http://svn.openlayers.org/trunk/openlayers@10137 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/vector-features.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/vector-features.html b/examples/vector-features.html index 2df77e7a21..c69b5a4c47 100644 --- a/examples/vector-features.html +++ b/examples/vector-features.html @@ -59,7 +59,7 @@ // of the image will be ignored style_mark.graphicWidth = 24; style_mark.graphicHeight = 20; - style_mark.graphicXOffset = -(style_mark.graphicWidth/2); // this is the default value + style_mark.graphicXOffset = 10; // default is -(style_mark.graphicWidth/2); style_mark.graphicYOffset = -style_mark.graphicHeight; style_mark.externalGraphic = "../img/marker.png"; // graphicTitle only works in Firefox and Internet Explorer @@ -116,9 +116,7 @@

Shows the use of the shows drawing simple vector features, in different styles.

-
-
-
+

This example shows drawing simple vector features -- point, line, polygon in different styles, created 'manually', by constructing the entire style