{"action":"closed","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3127","repository_url":"https://api.github.com/repos/NativeScript/NativeScript","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3127/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3127/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/3127/events","html_url":"https://github.com/NativeScript/NativeScript/issues/3127","id":190613228,"number":3127,"title":"Issue creating native views within plugin","user":{"login":"dapriett","id":4422908,"avatar_url":"https://avatars2.githubusercontent.com/u/4422908?v=4","gravatar_id":"","url":"https://api.github.com/users/dapriett","html_url":"https://github.com/dapriett","followers_url":"https://api.github.com/users/dapriett/followers","following_url":"https://api.github.com/users/dapriett/following{/other_user}","gists_url":"https://api.github.com/users/dapriett/gists{/gist_id}","starred_url":"https://api.github.com/users/dapriett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dapriett/subscriptions","organizations_url":"https://api.github.com/users/dapriett/orgs","repos_url":"https://api.github.com/users/dapriett/repos","events_url":"https://api.github.com/users/dapriett/events{/privacy}","received_events_url":"https://api.github.com/users/dapriett/received_events","type":"User","site_admin":false},"labels":[{"id":203690306,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/os:%20ios","name":"os: ios","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-21T03:59:37Z","updated_at":"2018-04-23T14:32:01Z","closed_at":"2018-04-23T14:32:00Z","author_association":"NONE","body":"Hello,\r\n\r\nI'm having some issues trying to add a custom infoWindow within the nativescript-google-maps-sdk plugin: https://github.com/dapriett/nativescript-google-maps-sdk/issues/77\r\n\r\nI'm basically trying to implement this for Android: https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.InfoWindowAdapter\r\nand this for iOS: https://developers.google.com/maps/documentation/ios-sdk/reference/protocol_g_m_s_map_view_delegate-p#ab83c3dab588f06e6227794740782bf55\r\n\r\nThey should return a native view for the supplied marker.  Here is what I started to implement:\r\n\r\nmap-view-common:[_getMarkerInfoWindowContent](https://github.com/dapriett/nativescript-google-maps-sdk/blob/custom_info_window/map-view-common.ts#L93)\r\nmap-view.android:[InfoWindowAdapter. getInfoContents](https://github.com/dapriett/nativescript-google-maps-sdk/blob/custom_info_window/map-view.android.ts#L342)\r\nmap-view.ios:[MapViewDelegateImpl.mapViewMarkerInfoContents](https://github.com/dapriett/nativescript-google-maps-sdk/blob/custom_info_window/map-view.ios.ts#L130)\r\n\r\nWhen I run my demo app (https://github.com/dapriett/nativescript-google-maps-sdk/blob/custom_info_window/demo/app/main-page.js#L93), Android seems to work, although images are not loading.  As for iOS, nothing seems to appear at all - InfoWindow comes up blank.  \r\n\r\nWhat modifications would you suggest?\r\n\r\niOS - Empty Info Window:\r\n![image](https://cloud.githubusercontent.com/assets/4422908/20470246/ab277ab0-af74-11e6-8af4-189584f44f94.png)\r\n\r\nAndroid - Working, but Blank Image \r\n![image](https://cloud.githubusercontent.com/assets/4422908/20470264/cef63e40-af74-11e6-90ae-070834f8454f.png)\r\n\r\nThanks!\r\n"}}
{"actor":{"display_login":"NickIliev"}}