geojs 1.14.7 → 1.14.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geojs",
3
- "version": "1.14.7",
3
+ "version": "1.14.8",
4
4
  "description": "JavaScript Geo Visualization and Analysis Library",
5
5
  "homepage": "https://github.com/OpenGeoscience/geojs",
6
6
  "license": "Apache-2.0",
@@ -368,7 +368,7 @@ var webgl_markerFeature = function (arg) {
368
368
  if (!m_this._primitiveShapeAuto || m_this._primitiveShape !== markerFeature.primitiveShapes.sprite) {
369
369
  return;
370
370
  }
371
- if (m_this._approximateMaxRadius(zoom) > webglRenderer._maxPointSize) {
371
+ if (m_this._approximateMaxRadius(zoom) * 2 > webglRenderer._maxPointSize) {
372
372
  m_this._primitiveShape = markerFeature.primitiveShapes.triangle;
373
373
  m_this.renderer().contextRenderer().removeActor(m_this.actors()[0]);
374
374
  m_this._init(true);