[OpenLayers-Users] Setting the style property externalGraphic to a
server-relative URL results in an erroneous call to load the containing
page as an image
matt.woodard at zsassociates.com
matt.woodard at zsassociates.com
Wed Aug 18 04:19:15 EDT 2010
My code uses a default style map, that sets markers to be styled with an
externalGraphic. When the URL for the externalGraphic is absolute
(http://mysite/foo.img) , the image loads as normal. When the URL is
server-relative (/foo.img) Chrome first tries to load the address of the
current page (/index.html) as an image, and reports the warning: "Resource
interpreted as image but transferred with MIME type text/html." Then the
browser correctly loads the specified image.
Is this a know bug, are there any known fixes on the client side?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Setting-the-style-property-externalGraphic-to-a-server-relative-URL-results-in-an-erroneous-call-to-e-tp5435424p5435424.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list