Skip to content

Commit

Permalink
Try getting icon dimensions directly from DB
Browse files Browse the repository at this point in the history
  • Loading branch information
timthelion committed Sep 15, 2020
1 parent dc30165 commit 7d3417e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webmap/templates/webmap/gis/kml/layer.kml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
{% if place.marker.default_icon and place.marker.default_icon.url %}
<ikona>{{ place.marker.default_icon.url }}</ikona>
<styleUrl>#icon_{{ place.marker.id }}</styleUrl>
<height>{{ place.marker.default_icon.height }}</height>
<width>{{ place.marker.default_icon.width }}</width>
<height>{{ place.marker.default_icon_height }}</height>
<width>{{ place.marker.default_icon_width }}</width>
{% endif %}
{% if place.geom.geom_type == 'Point' %}
<zindex>3</zindex>
Expand Down

0 comments on commit 7d3417e

Please sign in to comment.