schleyfox-ruby_kml 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kml/feature.rb +1 -1
- data/lib/kml/folder.rb +1 -1
- data/lib/kml/placemark.rb +2 -1
- metadata +1 -1
data/lib/kml/feature.rb
CHANGED
data/lib/kml/folder.rb
CHANGED
data/lib/kml/placemark.rb
CHANGED
@@ -23,12 +23,13 @@
|
|
23
23
|
# </Placemark>
|
24
24
|
|
25
25
|
module KML
|
26
|
-
class Placemark <
|
26
|
+
class Placemark < Container
|
27
27
|
attr_accessor :geometry
|
28
28
|
|
29
29
|
def render(xm=Builder::XmlMarkup.new(:indent => 2))
|
30
30
|
xm.Placemark {
|
31
31
|
super
|
32
|
+
features.each { |f| f.render(xm) }
|
32
33
|
geometry.render(xm) unless geometry.nil?
|
33
34
|
}
|
34
35
|
end
|