VML fails to render features with undefined pointRadius symbolizer property. r=crschmidt (closes #1345)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6161 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -410,6 +410,9 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
|||||||
* radius - {float}
|
* radius - {float}
|
||||||
*/
|
*/
|
||||||
drawCircle: function(node, geometry, radius) {
|
drawCircle: function(node, geometry, radius) {
|
||||||
|
if (typeof radius == "undefined") {
|
||||||
|
radius = 0;
|
||||||
|
}
|
||||||
if(!isNaN(geometry.x)&& !isNaN(geometry.y)) {
|
if(!isNaN(geometry.x)&& !isNaN(geometry.y)) {
|
||||||
var resolution = this.getResolution();
|
var resolution = this.getResolution();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user