Skip to content

Commit

Permalink
Merge pull request openlayers#2752 from elemoine/loadfeatures
Browse files Browse the repository at this point in the history
Call loadFeatures from ol.source.ImageVector
  • Loading branch information
Éric Lemoine committed Sep 25, 2014
2 parents 5f51fbc + f8702e2 commit 0080078
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ol/source/imagevectorsource.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ ol.source.ImageVector.prototype.canvasFunctionInternal_ =
ol.renderer.vector.getTolerance(resolution, pixelRatio), extent,
resolution);

this.source_.loadFeatures(extent, resolution, projection);

var loading = false;
this.source_.forEachFeatureInExtentAtResolution(extent, resolution,
/**
Expand Down

0 comments on commit 0080078

Please sign in to comment.