homeflowjs 0.12.0 → 0.12.1

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": "homeflowjs",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "JavaScript toolkit for Homeflow themes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -125,7 +125,7 @@ export default class DraggableMap {
125
125
  generateMarker(property) {
126
126
  const marker = L.marker(
127
127
  [property.lat, property.lng],
128
- { title: property.name, icon: Homeflow.get('custom_property_pin')(property) }
128
+ { title: property.name, icon: this.generateMarkerIcon(property) }
129
129
  );
130
130
 
131
131
  // add the property to marker attributes so they can be accessed on click