Leaflet map changes in Rails App - 01/05/2018 21:01 EDT
$10-30 AUD
Thanh toán khi bàn giao
I have a leaflet map which is embedded in a rails app using haml for views. The map functions, but I would like the map to dynamically zoom and scale to the markers on load instead of a pre-defined spot as it currently does. The haml view is attached.
ID dự án: #16855523
Về dự án
2 freelancer chào giá trung bình$30 cho công việc này
Hi, As I understand you want to set zoom so that map shows all the markers set on that. I think we can make some formula that calculates the center of all markers and zoom.