{"action":"opened","issue":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1908","repository_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps","labels_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1908/labels{/name}","comments_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1908/comments","events_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/1908/events","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1908","id":275754936,"number":1908,"title":"Request: Being able to make the map static and disable DOM watching","user":{"login":"danielcrk","id":7166101,"avatar_url":"https://avatars3.githubusercontent.com/u/7166101?v=4","gravatar_id":"","url":"https://api.github.com/users/danielcrk","html_url":"https://github.com/danielcrk","followers_url":"https://api.github.com/users/danielcrk/followers","following_url":"https://api.github.com/users/danielcrk/following{/other_user}","gists_url":"https://api.github.com/users/danielcrk/gists{/gist_id}","starred_url":"https://api.github.com/users/danielcrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielcrk/subscriptions","organizations_url":"https://api.github.com/users/danielcrk/orgs","repos_url":"https://api.github.com/users/danielcrk/repos","events_url":"https://api.github.com/users/danielcrk/events{/privacy}","received_events_url":"https://api.github.com/users/danielcrk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-21T15:32:52Z","updated_at":"2017-11-21T15:32:52Z","closed_at":null,"author_association":"NONE","body":"**I'm submitting a ...** \r\n[ ] question\r\n[ ] any problem or bug report\r\n[x] feature request\r\n\r\nHi Mashashi, just a feature request, maybe you have already considered this.\r\n\r\nI fully understand why the DOM watching is needed, and for most users, it's the best solution. But would you perhaps consider making it possible to make the map \"static\", i.e. fully disable all DOM watching and letting the user do all necessary stuff themselves?\r\n\r\nFor me, the map is always static and never moves, it only changes visibility and I can handle that manually, including making all the parent notes transparent. The DOM watching is a heavy task and noticeably slows down apps even on an iphone 8. Again, I fully understand why it is needed - but it is not needed in every case.\r\n\r\nPerhaps something like `map.disableDOMWatching()` that can be called after the map is created, or even better, a flag that can be set during the creating of `Map.getMap(div, false);`.\r\n\r\nI've started looking through googlemaps-cdv-plugin.js to figure out how it works and the best way to disable it but the plugin is huuuge and it feels like I can't make any changes without affecting anything else.\r\n\r\nDo you have any thoughts on this? "}}
{"actor":{"display_login":"danielcrk"}}