Merge pull request #126 from tomhughes/url-rewrite

Add an interception point to allow image URLs to be rewritten
This commit is contained in:
Tim Schaub
2012-01-03 14:13:00 -08:00
11 changed files with 27 additions and 21 deletions

View File

@@ -53,8 +53,7 @@ OpenLayers.Format.Text = OpenLayers.Class(OpenLayers.Format, {
if(options.extractStyles !== false) {
options.defaultStyle = {
'externalGraphic': OpenLayers.Util.getImagesLocation() +
"marker.png",
'externalGraphic': OpenLayers.Util.getImageLocation("marker.png"),
'graphicWidth': 21,
'graphicHeight': 25,
'graphicXOffset': -10.5,