File: ../src/maps/markercollections/stormreportmarkers.js
define([
'aeris/util',
'aeris/maps/markercollections/pointdatamarkers',
'aeris/api/collections/stormreports',
'aeris/maps/markers/stormreportmarker',
'aeris/maps/markercollections/config/clusterstyles'
], function(_, PointDataMarkers, StormReportCollection, StormReportMarker, clusterStyles) {
/**
* @publicApi
* @class aeris.maps.markercollections.StormReportMarkers
* @extends aeris.maps.markercollections.PointDataMarkers
*
* @constructor
*/
var StormReportMarkers = function(opt_markers, opt_options) {
var options = _.extend({
data: new StormReportCollection(),
model: StormReportMarker,
clusterStyles: clusterStyles.stormReport
}, opt_options);
PointDataMarkers.call(this, opt_markers, options);
};
_.inherits(StormReportMarkers, PointDataMarkers);
return _.expose(StormReportMarkers, 'aeris.maps.markercollections.StormReportMarkers');
});