Skip to content

Commit

Permalink
label inside icon
Browse files Browse the repository at this point in the history
  • Loading branch information
simonebt92 committed Jul 3, 2017
1 parent 964aee8 commit 0344655
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MarkerCluster.js
Expand Up @@ -247,11 +247,11 @@ define(['../libraries/supercluster.min', '../libraries/WorldWind/WorldWind'], fu
res.forEach(function (f) {

if (f.properties.cluster) {
label = f.properties.point_count;
label = ""+f.properties.point_count;
var offsetText =
new WorldWind.Offset(
WorldWind.OFFSET_FRACTION, 0,
WorldWind.OFFSET_FRACTION, 0);
WorldWind.OFFSET_FRACTION, -0.1,
WorldWind.OFFSET_FRACTION, -1);
var imageScale=0.5;
imageSource = "src/images/circle.png";//WorldWind.configuration.baseUrl + "images/pushpins/plain-teal.png";
} else {
Expand Down

0 comments on commit 0344655

Please sign in to comment.