这是indexloc提供的服务,不要输入任何密码
Skip to content

Could be the populating of options of Points in GeometryCollection extended? #12

@cr0ss

Description

@cr0ss

Right now every Point gets an options of it's GeometryCollection according to this part of code:

var opts = options || {};

isn't it good to extend this options here, like this:

case "Point": case "MultiPoint": case "LineString": case "MultiLineString": case "Polygon": case "MultiPolygon": obj = geojson.coordinates ? { opts.extend(geojson.options); obj = _geometryToGoogleMaps(geojson, opts); } : _error("Invalid GeoJSON object: Geometry object missing \"coordinates\" member."); break;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions