When setting up a cluster, model properties can be forwarded to clusters in order to create layer styles depending on model attributes.
But in case a property does not exist, the rendering of the cluster fails showing a vague warning in JS console.
Instead, a missing property should be raising an error when setting up layers in django-mapengine.
Additionally, if an attribute is used in layer styles which is not present in cluster API, layer is not rendered on map.
Implementing an error message for this case is difficult as we must check layer styles for used attributes, which can be present in many different ways in the layer styles engine.
When setting up a cluster, model properties can be forwarded to clusters in order to create layer styles depending on model attributes.
But in case a property does not exist, the rendering of the cluster fails showing a vague warning in JS console.
Instead, a missing property should be raising an error when setting up layers in django-mapengine.
Additionally, if an attribute is used in layer styles which is not present in cluster API, layer is not rendered on map.
Implementing an error message for this case is difficult as we must check layer styles for used attributes, which can be present in many different ways in the layer styles engine.