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
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
// of the image will be ignored
|
// of the image will be ignored
|
||||||
style_mark.graphicWidth = 24;
|
style_mark.graphicWidth = 24;
|
||||||
style_mark.graphicHeight = 20;
|
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.graphicYOffset = -style_mark.graphicHeight;
|
||||||
style_mark.externalGraphic = "../img/marker.png";
|
style_mark.externalGraphic = "../img/marker.png";
|
||||||
// graphicTitle only works in Firefox and Internet Explorer
|
// graphicTitle only works in Firefox and Internet Explorer
|
||||||
@@ -116,9 +116,7 @@
|
|||||||
<p id="shortdesc">
|
<p id="shortdesc">
|
||||||
Shows the use of the shows drawing simple vector features, in different styles.
|
Shows the use of the shows drawing simple vector features, in different styles.
|
||||||
</p>
|
</p>
|
||||||
<div style="text-align: right">
|
<div id="map" class="smallmap"></div>
|
||||||
<div dir="rtl" id="map" class="smallmap"></div>
|
|
||||||
</div>
|
|
||||||
<div id="docs">
|
<div id="docs">
|
||||||
<p>This example shows drawing simple vector features -- point, line, polygon
|
<p>This example shows drawing simple vector features -- point, line, polygon
|
||||||
in different styles, created 'manually', by constructing the entire style
|
in different styles, created 'manually', by constructing the entire style
|
||||||
|
|||||||
Reference in New Issue
Block a user