Sha256: b6682dd824eb5aea4ff6bc201e9eb0342c6241793d266b5aa66b986f00900f18
Contents?: true
Size: 525 Bytes
Versions: 3
Compression:
Stored size: 525 Bytes
Contents
/* * L.CircleMarker is a circle overlay with a permanent pixel radius. */ L.CircleMarker = L.Circle.extend({ options: { radius: 10, weight: 2 }, initialize: function (latlng, options) { L.Circle.prototype.initialize.call(this, latlng, null, options); this._radius = this.options.radius; }, projectLatlngs: function () { this._point = this._map.latLngToLayerPoint(this._latlng); }, setRadius: function (radius) { this._radius = radius; this._redraw(); return this; } });
Version data entries
3 entries across 3 versions & 1 rubygems