| Path: | lib/mapstraction_plugin/helper.rb |
| Last Update: | Fri Jul 21 11:30:09 Romance Daylight Time 2006 |
Creates a GMarker object from a georuby point. Accepts the same options as the GMarker constructor. Assumes the points of the line strings are stored in Longitude(x)/Latitude(y) order.
# File lib/mapstraction_plugin/helper.rb, line 3 3: def self.from_georuby(point,options = {}) 4: Marker.new([point.y,point.x],options) 5: end