开发者

The center of the map at production is not equal at development

I created an example and when I upload in Heroku the center of the map i开发者_JAVA百科s not working how it works on my machine.

<%= gmaps("map_options" => {
        "center_latitude" => 42.359562,
        "center_longitude" => -3.698387,
        "container_id" => "mapaContainer",
        "disableDefaultUI"=> false,
        "disableDoubleClickZoom" => true,
        "id" => "mapa",
        "type" => "ROADMAP",
        "zoom" => 7
},
         "markers" => { "data" => @locales_markers }
    ) %>

Why it happens?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜