Class: Osmaps::PolygonController
- Inherits:
-
Volt::ModelController
- Object
- Volt::ModelController
- Osmaps::PolygonController
- Defined in:
- app/osmaps/controllers/polygon_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 |
# File 'app/osmaps/controllers/polygon_controller.rb', line 3 def index end |
#polygon(latLongArray, opts = {}) ⇒ Object
6 7 8 9 |
# File 'app/osmaps/controllers/polygon_controller.rb', line 6 def polygon(latLongArray, opts = {}) `L.polygon(latLongArray).addTo(map);` return nil end |