Skip to content
This repository was archived by the owner on Mar 3, 2024. It is now read-only.
This repository was archived by the owner on Mar 3, 2024. It is now read-only.

BHM::GoogleMaps::StaticMap ignores :zoom, :format, and more #4

@wtnabe

Description

@wtnabe

Thanks for nice library !

I need give params :zoom and :format. But BHM::GoogleMaps::StaticMap's constructor ignore these params. I patched as below:

@@ -12,6 +12,8 @@
           p[:sensor]  = false
           p[:size]    = "#{@width}x#{@height}"
           p[:maptype] = options.fetch(:type, "roadmap")
+          p[:format]  = options.fetch(:format)
+          p[:zoom]    = options.fetch(:zoom)
         end
       end

Could you merge this ?

Thank you.

wtnabe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions