| Class | Ym4r::GmPlugin::GMapType |
| In: |
lib/gm_plugin/layer.rb
|
| Parent: | Object |
| G_NORMAL_MAP | = | Variable.new("G_NORMAL_MAP") |
| G_SATELLITE_MAP | = | Variable.new("G_SATELLITE_MAP") |
| G_HYBRID_MAP | = | Variable.new("G_HYBRID_MAP") |
| layers | [RW] | |
| name | [RW] | |
| options | [RW] | |
| projection | [RW] |
The options can be any of the GMapType options detailed in the documentation + a :projection.
# File lib/gm_plugin/layer.rb, line 14
14: def initialize(layers, name, options = {})
15: @layers = layers
16: @name = name
17: @projection = options.delete(:projection) || GMercatorProjection.new
18: @options = options
19: end