Merge pull request #126 from tomhughes/url-rewrite
Add an interception point to allow image URLs to be rewritten
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user