ROGUE-JCTD / MapLoom

MapLoom is a web mapping client based on OpenLayers 3. It provides full-featured editing capabilities for data stores in GeoServer - including PostGIS and GeoGig. For GeoGig layers, it lets you view history, and sync with other GeoGig repositories
MIT License
70 stars 66 forks source link

Heatmap button isn't working on line and polygon layers #119

Open ScottEvil opened 9 years ago

ScottEvil commented 9 years ago

The Heatmap button appears on line and polygon layers. When you click it, the logic in the code executes (i.e. heatmap layer is created) but there isn't an actual heatmap because they're not points. This was working before on polygons before the update to the latest OL3. Potentially related to that update.

ScottEvil commented 9 years ago

As an update to this, running heatmap on a multi-polygon throws a javascript error heatmap_poly

ScottEvil commented 9 years ago

Update: The Javascript error is being handled. However the code shouldn't execute for poylgon or line layers