{"action":"created","issue":{"url":"https://api.github.com/repos/Norkart/Leaflet-MiniMap/issues/94","labels_url":"https://api.github.com/repos/Norkart/Leaflet-MiniMap/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/Norkart/Leaflet-MiniMap/issues/94/comments","events_url":"https://api.github.com/repos/Norkart/Leaflet-MiniMap/issues/94/events","html_url":"https://github.com/Norkart/Leaflet-MiniMap/issues/94","id":116855344,"number":94,"title":"Fix minimap on point / bounds","user":{"login":"mnquintana","id":823545,"avatar_url":"https://avatars.githubusercontent.com/u/823545?v=3","gravatar_id":"","url":"https://api.github.com/users/mnquintana","html_url":"https://github.com/mnquintana","followers_url":"https://api.github.com/users/mnquintana/followers","following_url":"https://api.github.com/users/mnquintana/following{/other_user}","gists_url":"https://api.github.com/users/mnquintana/gists{/gist_id}","starred_url":"https://api.github.com/users/mnquintana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnquintana/subscriptions","organizations_url":"https://api.github.com/users/mnquintana/orgs","repos_url":"https://api.github.com/users/mnquintana/repos","events_url":"https://api.github.com/users/mnquintana/events{/privacy}","received_events_url":"https://api.github.com/users/mnquintana/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Norkart/Leaflet-MiniMap/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-13T21:27:33Z","updated_at":"2015-11-16T13:03:08Z","closed_at":null,"body":"It would be really useful to be able to fix the MiniMap (ie. prevent it from zooming / panning along with the main map) by passing it a point (a `LatLng` object or an array) or bounds. Use case here is to have a minimap be a fixed view on a particular point in the map, no matter the state of the main map. Thanks!"},"comment":{"url":"https://api.github.com/repos/Norkart/Leaflet-MiniMap/issues/comments/157022541","html_url":"https://github.com/Norkart/Leaflet-MiniMap/issues/94#issuecomment-157022541","issue_url":"https://api.github.com/repos/Norkart/Leaflet-MiniMap/issues/94","id":157022541,"user":{"login":"robpvn","id":1035195,"avatar_url":"https://avatars.githubusercontent.com/u/1035195?v=3","gravatar_id":"","url":"https://api.github.com/users/robpvn","html_url":"https://github.com/robpvn","followers_url":"https://api.github.com/users/robpvn/followers","following_url":"https://api.github.com/users/robpvn/following{/other_user}","gists_url":"https://api.github.com/users/robpvn/gists{/gist_id}","starred_url":"https://api.github.com/users/robpvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robpvn/subscriptions","organizations_url":"https://api.github.com/users/robpvn/orgs","repos_url":"https://api.github.com/users/robpvn/repos","events_url":"https://api.github.com/users/robpvn/events{/privacy}","received_events_url":"https://api.github.com/users/robpvn/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T13:03:08Z","updated_at":"2015-11-16T13:03:08Z","body":"This also seems quite doable, all we need is to add it as options that we pass through to the underlying Map object. Looking at http://leafletjs.com/reference.html#map-options it seems that only the bounds option is supported out of the box, so we'll stick to that."}}