class Placemaker::Extents

container for the the map extents covering the places mentioned in the document

Public Instance Methods

center() click to toggle source

coordinates of center (WGS84)

   # File lib/placemaker/extents.rb
10 def center
11   Placemaker::Coordinates.new(@nodeset.search('.//xmlns:center'))
12 end
north_east() click to toggle source

coordinates of northeast corner of bounding box (WGS84)

   # File lib/placemaker/extents.rb
20 def north_east
21   Placemaker::Coordinates.new(@nodeset.search('.//xmlns:northEast'))
22 end
south_west() click to toggle source

coordinates of southwest corner of bounding box (WGS84)

   # File lib/placemaker/extents.rb
15 def south_west
16   Placemaker::Coordinates.new(@nodeset.search('.//xmlns:southWest'))
17 end