~graeme-acm/sahana-eden/RMS

« back to all changes in this revision

Viewing changes to static/scripts/S3/s3.gis.layers.js

  • Committer: graeme at acm
  • Author(s): graeme-acm
  • Date: 2011-12-16 02:59:49 UTC
  • mfrom: (2065.1.50 ifrc)
  • Revision ID: graeme@acm.org-20111216025949-4lzvg77vf5oy3zaw
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
358
358
            radius: function(feature) {
359
359
                if (feature.cluster) {
360
360
                    // Size for Clustered Point
361
 
                    var pix = Math.min(feature.attributes.count/2, 8) + 12;
 
361
                    var pix = Math.min(feature.attributes.count/2, 8) + 10;
362
362
                } else if (feature.attributes.size) {
363
363
                    // Use size from feature
364
364
                    var pix = feature.attributes.size;
365
365
                } else {
366
366
                    // default Size for Unclustered Point
367
 
                    var pix = 12;
 
367
                    var pix = 10;
368
368
                }
369
369
                return pix;
370
370
            },